summaryrefslogtreecommitdiff
path: root/templates
AgeCommit message (Collapse)Author
2011-02-22inline: allow assigning an id to postform/feedlinkGiuseppe Bilotta
This allows per-form/feedlink group customization without having to resort to counting. (cherry picked from commit b134feb0dc2d9a8ff7ae447537fa8bc02811aabd)
2011-01-14feedlink/blogpost templates: use class instead of idGiuseppe Bilotta
There can be more than one feedlink group in a page, as well as (more rarely) multiple blog forms, and using the same id for all of them causes HTML validation errors. Replace the id with a class by the same name and adjust in-repository CSS. (cherry picked from commit 0c3b91e1f06fb357711cfa71d514f139cd8e04e3)
2011-01-06inline: pass the Atom/RSS titles to the templatesGiuseppe Bilotta
The default templates are also updated to make use of this information. The rel="alternate" attribute is also inserted, for completeness. (cherry picked from commit 618ade535e6a7967a510d9e210edaef3d37cc9bc)
2010-11-16improve htmlJoey Hess
display not changed, but I hope this will html2text better in rss2email, and it's generally better
2010-10-08add message field to revert formJoey Hess
2010-10-08make revert hooks optionalJoey Hess
I removed the IkiWiki::rcs_ stubs for the revert hooks. Instead recentchanges tests to see if the hooks are available and calls them directly.
2010-10-06put diff at end of revert formJoey Hess
2010-10-06revert html tweakingJoey Hess
2010-10-01Correct 'alt' text for the revert image.Peter Gammie
2010-09-29Get things right after moving to a branch.Peter Gammie
2010-09-29First cut at the revert plugin.Peter Gammie
2010-09-14Set isPermaLink="no" for guids in rss feeds.Joey Hess
The rss spec says that unless the attribute is set, guid elements *are* permalinks. The problem with that is that if [[meta permalink=]] is used, as is done with aggregated posts, that goes into the link element, and apparently some rss readers prefer the not-really-permalink in the guid element when linking to the post. Without meta permalink, the link and guid elements have the same content, so it should be ok, in that case too for the guid to not be a permalink. (Checked and this does not flood aggregators.)
2010-07-22Avoid showing 'Add a comment' link at the bottom of the comment post form.Joey Hess
Since misctemplate is called with a page context, the comments plugin thinks it should add that, as well as the comment link in the actionbar. I kept the comment link because a quick link back to the comments to a page is sorta useful.
2010-07-14Drop Cache-Control must-revalidate (Firefox 3.5.10 does not seem to have the ↵Joey Hess
caching problem that was added to work around). Closes: #588623
2010-06-30comment.tmpl: Fix up display when inline uses it to display a non-comment ↵Joey Hess
page. (Such as a discussion page.)
2010-06-15fix labels for form elementsJoey Hess
The label for attribute must correspond to the element id (not name). And it needs to be unique inside the loop.
2010-06-13remove obsolete ol class=form for editpage and editcommentJoey Hess
The styling of labels on the form largely obsoleted the special styled ol, so just a few br's sufficed. Using an ol like that was not too semantically right (probably?) and could cause problems with customized local.css.
2010-06-12editpage: Rename "comments" field to avoid CSS conflict with the comments div.Joey Hess
2010-06-10I'm told that the pagebody div should be after the sidebar.Joey Hess
2010-06-10style.css: Improvements to make floating sidebar fit better on pages with ↵Joey Hess
inlines. The key is using width: auto; overflow: auto; -- this allows the div(s) to the left of the floating sidebar to be resized to fit next to it, and prevents any clear: both from pushing the div down below the end of the sidebar. Many thanks for the Hurd wiki's developers for originally figuring this out. The edit page recently developed the same problem with its textarea, now that a sidebar can appear on that page too. In editpage.tmpl I needed to add a new div around the editcontent textarea, as the above styles cannot be applied directly to textareas. The textarea's own width is reduced to 98% because at least in chromium this avoids it getting unnecessary horizonatl scrollbars when a sidebar is displayed next to it.
2010-06-10page.tmpl: Add a div around the sidebar, page content, and comments, to aide ↵Joey Hess
in styling. http://bzed.de/posts/2010/05/new_css_for_bzed.de/ smcv: [10:59:01] is the logical thing you want a <div> whose meaning is "the bits the sidebar is allowed to accompany"? bzed: [10:59:14] yeah bzed: [10:59:58] then you could just ensure that this part is as high as the sidebar smcv: [11:02:44] wrapping a <div> around the sidebar, content and comments seems like the way forward, then
2010-06-09better autotag titleJoey Hess
2010-05-16page.tmpl: Accidentially broke po plugin's otherlanguages list styling when ↵Joey Hess
modifying for html5; now fixed.
2010-05-14allow misctemplate callers to pass params to suppress actions etcJoey Hess
Suppress disiplay of small search for on search results page, and of Prefrences link on prefs page.
2010-05-14avoid showing redundant search box on search results pageJoey Hess
2010-05-14show search form on dynamic pagesJoey Hess
2010-05-14put back recentchangesurlJoey Hess
On second thought, misctemplate can use pagetemplate hooks to provide it, so it's better to keep back-compat, and allow full customisation of how it's displayed via the template.
2010-05-14enable action bar on misctemplatesJoey Hess
So RecentChanges shows on the action bar there, convert recentchanges to use new pageactions hook, with compatability code to avoid breaking old templates.
2010-05-08wordingJoey Hess
2010-05-08use labelsJoey Hess
2010-05-08moved non-openid signin form into same page as openid selector; show/hide as ↵Joey Hess
buttons are pressed
2010-05-07improve display w/noscriptJoey Hess
2010-05-07updateJoey Hess
2010-05-07pretty openid loginJoey Hess
* openid: Incorporated a fancy openid-selector signin form. (http://code.google.com/p/openid-selector/) * openid: Use "openid_identifier" as the form field, as required by OpenID Authentication v2.0 spec.
2010-05-07patch hidden field setting codeJoey Hess
Fixes http://code.google.com/p/openid-selector/issues/detail?id=11#c3
2010-05-06fix pagediff to not display as "preview"Joey Hess
I think originally, the page preview header was not displayed, so diff was hacked in using it.
2010-05-06Gave comment and page editing forms some CSS and accessability love.Joey Hess
In particular, added <label> tags. (However, could not find a good way to add a label tag for the main page edit textarea.)
2010-05-05bugfixJoey Hess
2010-05-05rename ispage variableJoey Hess
2010-05-05add NEWS about template changeJoey Hess
2010-05-05consistently drop NAME= in templatesJoey Hess
also add template syntax smoke test
2010-05-05allow search form visibility to be controlled on the templateJoey Hess
hide extrafooter from misctemplate display per default
2010-05-05on second thought, remove FOOTER variableJoey Hess
We always want a footer, just not a pagefooter when doing misctemplate.
2010-05-05add the <base> setting as in misc.tmpl; only ever do it if not ispageJoey Hess
Also, add FOOTER, to allow disabling the footer.
2010-05-03Add ACTIONS variable to page.tmpl, which allows plugins to add arbitrary ↵Joey Hess
links to the action bar without modifying the template further. (COMMENTSLINK and DISCUSSIONLINK could be folded into this, but are kept separate for now to avoid breaking modified templates.)
2010-05-02bugfixJoey Hess
2010-05-02adapt misc.tmpl to html5Joey Hess
2010-05-02adapt inlinepage.tmpl to html5Joey Hess
Needed to force tags to display inline, since <nav> is a block element.
2010-05-02adapt comment.tmpl to html5Joey Hess
Note that I put comment-header in a <header> despite it being below the comment. Using a <footer> would be confusing given the class name. Also, the content is semantically closer to a header than a footer.
2010-05-02improve semantic markupJoey Hess
Now the toplevel layout is: <article> <section><header><nav></section> <aside>sidebar</aside> <section>content</section> <section>comments</section> <footer> </article> And I managed to preserve all CSS ids and names in their prior structure, so CSS should not need changed.