summaryrefslogtreecommitdiff
path: root/templates
AgeCommit message (Collapse)Author
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.
2010-05-02use html5 semantic markup in page.tmplJoey Hess
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.
2010-05-02Add placeholder text in search form (in html5 mode only).Joey Hess
2010-05-01use styled divs instead of center tagsJoey Hess
More could be done to modernize this html, but I don't want to diverge too far from the one in xapian.
2010-05-01html5 optionJoey Hess
* 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.
2010-05-01apply simonrvn patch adding labels for radio buttonsJoey Hess
and other minor html improvement
2010-05-01apply simonrvn patch to quote attributesJoey Hess
2010-05-01limit feeds for tag pages to including ten postsJoey Hess
With archive=yes, feeds default to including all, but that is expensive for automatically created tag pages.
2010-04-26Minor, seemingly harmless tweaks to misc.tmplJoey Hess
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)
2010-04-22use meta titleJoey Hess
2010-04-21add separate template variable for tag page and sanitize displayed tag nameJoey Hess
2010-04-17Merge remote branch 'davrieb/autotag' into autotagJoey Hess
Conflicts: IkiWiki.pm IkiWiki/Plugin/tag.pm
2010-04-15calendarmonth.tmpl: The month calendar is now put in a sidebar.Joey Hess
2010-04-15CSS and templates for sidebar changed to use a class, not an id.Joey Hess
Multiple sidebars should be possible; also, I want to add a sidebar template.
2010-03-31page.tmpl: Add Cache-Control must-revalidate to ensure that users ↵Joey Hess
(especially of Firefox) see fresh page content. Since Firefox version 3, it's done aggressive caching of visited pages, and does not, by default, check if the cached content is still valid when reloading or revisiting a page. By default, Firefox seems to not re-contact the web server at all. Compare with eg, Epiphany and Chromium, which appear to always check, and get back a 304 when the page is unchanged. This header makes Firefox do the right thing, at least for html files. It still over-caches if css, javascript, images, etc, are changed.
2010-03-11Add missing </span> to change.tmpl COMMITDATE, fixing well-formednessSimon McVittie
This only affects people who don't use either htmltidy or htmlbalance. Bug: http://ikiwiki.info/bugs/templateForRecentChangesMissingCloseSpan/
2010-02-14optimise whitespace in feed templatesJoey Hess
2010-02-02fix typo in autotag.tmplDavid Riebenbauer
2010-02-02Automatically create tag pages,David Riebenbauer
if "tag_autocreate=1" is set in the configuration. The pages will be created in tagbase, if and only if they do not exist in the srcdir yet. Tag pages will be create from "autotag.tmpl". At this stage a second refresh is needed for the tag pages to be rendered. Add autotag.tmpl template.
2010-01-04lowercase "or Signin"Joey Hess
2009-12-30Add title span to misc.tmplSvend Sorensen
Add title span to misc.tmpl so that the title is styled consistently with pages that use page.tmpl.
2009-11-09typoJoey Hess
2009-11-09localstyle: New plugin, allows overrding the toplevel local.css with one ↵Joey Hess
that is closer to a page. I chose not to have it override style.css, because style.css is not really intended to be edited; the one from the underlay is intended to be used as a base that local.css overrides. I chose to use a plugin rather than changing the default behavior, both because I didn't want to have to worry about possibly breaking backwards compatability (though this seems unlikely), and because it seemed cleaner to not include style template parameters in the main page template code. I suppose someone might want a way to not override the toplevel local.css, but instead include it as well as foo/local.css. Probably the best way to do that would be to have foo/local.css @import ../local.css (modulo browser compatability issues). Alternatively, edit page.tmpl to always include the toplevel local.css, or swap out this plugin for another one.