aboutsummaryrefslogtreecommitdiff
path: root/templates
Commit message (Collapse)AuthorAge
* Set isPermaLink="no" for guids in rss feeds.Joey Hess2010-09-14
| | | | | | | | | | | | | 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.)
* Avoid showing 'Add a comment' link at the bottom of the comment post form.Joey Hess2010-07-22
| | | | | | | 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.
* Drop Cache-Control must-revalidate (Firefox 3.5.10 does not seem to have the ↵Joey Hess2010-07-14
| | | | caching problem that was added to work around). Closes: #588623
* comment.tmpl: Fix up display when inline uses it to display a non-comment ↵Joey Hess2010-06-30
| | | | page. (Such as a discussion page.)
* fix labels for form elementsJoey Hess2010-06-15
| | | | | The label for attribute must correspond to the element id (not name). And it needs to be unique inside the loop.
* remove obsolete ol class=form for editpage and editcommentJoey Hess2010-06-13
| | | | | | 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.
* editpage: Rename "comments" field to avoid CSS conflict with the comments div.Joey Hess2010-06-12
|
* I'm told that the pagebody div should be after the sidebar.Joey Hess2010-06-10
|
* style.css: Improvements to make floating sidebar fit better on pages with ↵Joey Hess2010-06-10
| | | | | | | | | | | | | | | | | 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.
* page.tmpl: Add a div around the sidebar, page content, and comments, to aide ↵Joey Hess2010-06-10
| | | | | | | | | | | 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
* better autotag titleJoey Hess2010-06-09
|
* page.tmpl: Accidentially broke po plugin's otherlanguages list styling when ↵Joey Hess2010-05-16
| | | | modifying for html5; now fixed.
* allow misctemplate callers to pass params to suppress actions etcJoey Hess2010-05-14
| | | | | Suppress disiplay of small search for on search results page, and of Prefrences link on prefs page.
* avoid showing redundant search box on search results pageJoey Hess2010-05-14
|
* show search form on dynamic pagesJoey Hess2010-05-14
|
* put back recentchangesurlJoey Hess2010-05-14
| | | | | | 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.
* enable action bar on misctemplatesJoey Hess2010-05-14
| | | | | | So RecentChanges shows on the action bar there, convert recentchanges to use new pageactions hook, with compatability code to avoid breaking old templates.
* wordingJoey Hess2010-05-08
|
* use labelsJoey Hess2010-05-08
|
* moved non-openid signin form into same page as openid selector; show/hide as ↵Joey Hess2010-05-08
| | | | buttons are pressed
* improve display w/noscriptJoey Hess2010-05-07
|
* updateJoey Hess2010-05-07
|
* pretty openid loginJoey Hess2010-05-07
| | | | | | | * 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.
* patch hidden field setting codeJoey Hess2010-05-07
| | | | Fixes http://code.google.com/p/openid-selector/issues/detail?id=11#c3
* fix pagediff to not display as "preview"Joey Hess2010-05-06
| | | | | I think originally, the page preview header was not displayed, so diff was hacked in using it.
* Gave comment and page editing forms some CSS and accessability love.Joey Hess2010-05-06
| | | | | | | In particular, added <label> tags. (However, could not find a good way to add a label tag for the main page edit textarea.)
* bugfixJoey Hess2010-05-05
|
* rename ispage variableJoey Hess2010-05-05
|
* add NEWS about template changeJoey Hess2010-05-05
|
* consistently drop NAME= in templatesJoey Hess2010-05-05
| | | | also add template syntax smoke test
* allow search form visibility to be controlled on the templateJoey Hess2010-05-05
| | | | hide extrafooter from misctemplate display per default
* on second thought, remove FOOTER variableJoey Hess2010-05-05
| | | | We always want a footer, just not a pagefooter when doing misctemplate.
* add the <base> setting as in misc.tmpl; only ever do it if not ispageJoey Hess2010-05-05
| | | | Also, add FOOTER, to allow disabling the footer.
* Add ACTIONS variable to page.tmpl, which allows plugins to add arbitrary ↵Joey Hess2010-05-03
| | | | | | | 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.)
* bugfixJoey Hess2010-05-02
|
* adapt misc.tmpl to html5Joey Hess2010-05-02
|
* adapt inlinepage.tmpl to html5Joey Hess2010-05-02
| | | | Needed to force tags to display inline, since <nav> is a block element.
* adapt comment.tmpl to html5Joey Hess2010-05-02
| | | | | | | 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.
* improve semantic markupJoey Hess2010-05-02
| | | | | | | | | | | | | | | 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.
* use html5 semantic markup in page.tmplJoey Hess2010-05-02
| | | | | | | | | | | | | This is a first pass, it avoids needing to change style.css except where it refers to tag types. This goes a bit off the rails at the pageheader with its nested header. Semantically, there should be an article around the whole page header, content, and footer. Just as there will be an article around a whole comment or inlined page header, content, and footer. But that will mean changing the css that currently refers to pageheader to refer to the enclosing article instead.
* Add placeholder text in search form (in html5 mode only).Joey Hess2010-05-02
|
* use styled divs instead of center tagsJoey Hess2010-05-01
| | | | | More could be done to modernize this html, but I don't want to diverge too far from the one in xapian.
* html5 optionJoey Hess2010-05-01
| | | | | | * Ikiwiki can be configured to generate html5 instead of the default xhtml 1.0. The html5 output mode is experimental, not yet fully standards compliant, and will be subject to rapid change.
* apply simonrvn patch adding labels for radio buttonsJoey Hess2010-05-01
| | | | and other minor html improvement
* apply simonrvn patch to quote attributesJoey Hess2010-05-01
|
* limit feeds for tag pages to including ten postsJoey Hess2010-05-01
| | | | | With archive=yes, feeds default to including all, but that is expensive for automatically created tag pages.
* Minor, seemingly harmless tweaks to misc.tmplJoey Hess2010-04-26
| | | | | | | | | | | | Whenever the DIV tag structure of page.tmpl has been changed, the DIV tag structure of misc.tmpl must also change to reflect this, or else any page which uses misc.tmpl will not look right. My intent is to make ease parallel maintenance of these two files by eliminating trivial/accidental difference between the two, so that duplicated regions can be more readily identified (perhaps even mechanically). (cherry-picked from commit 075980f94996e8f67d9632ae95b8bf41fdf09afa, but without the changes to comments in page.tmpl)
* use meta titleJoey Hess2010-04-22
|
* add separate template variable for tag page and sanitize displayed tag nameJoey Hess2010-04-21
|
* Merge remote branch 'davrieb/autotag' into autotagJoey Hess2010-04-17
|\ | | | | | | | | | | Conflicts: IkiWiki.pm IkiWiki/Plugin/tag.pm