aboutsummaryrefslogtreecommitdiff
path: root/templates
Commit message (Collapse)AuthorAge
...
* 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
| * fix typo in autotag.tmplDavid Riebenbauer2010-02-02
| |
| * Automatically create tag pages,David Riebenbauer2010-02-02
| | | | | | | | | | | | | | | | | | | | 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.
* | calendarmonth.tmpl: The month calendar is now put in a sidebar.Joey Hess2010-04-15
| |
* | CSS and templates for sidebar changed to use a class, not an id.Joey Hess2010-04-15
| | | | | | | | | | Multiple sidebars should be possible; also, I want to add a sidebar template.
* | page.tmpl: Add Cache-Control must-revalidate to ensure that users ↵Joey Hess2010-03-31
| | | | | | | | | | | | | | | | | | | | | | | | | | (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.
* | Add missing </span> to change.tmpl COMMITDATE, fixing well-formednessSimon McVittie2010-03-11
| | | | | | | | | | | | This only affects people who don't use either htmltidy or htmlbalance. Bug: http://ikiwiki.info/bugs/templateForRecentChangesMissingCloseSpan/
* | optimise whitespace in feed templatesJoey Hess2010-02-14
|/
* lowercase "or Signin"Joey Hess2010-01-04
|
* Add title span to misc.tmplSvend Sorensen2009-12-30
| | | | | Add title span to misc.tmpl so that the title is styled consistently with pages that use page.tmpl.
* typoJoey Hess2009-11-09
|
* localstyle: New plugin, allows overrding the toplevel local.css with one ↵Joey Hess2009-11-09
| | | | | | | | | | | | | | | | | | | | 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.
* google: Pass the whole wiki url to google, not just the domain, so that ↵Joey Hess2009-10-29
| | | | search works correctly for wikis that are located in subdirectories of domains.
* ikiwiki-calendar: New command automates creation of archive pages using the ↵Joey Hess2009-10-11
| | | | calendar plugin.
* further otherlanguages list stylingJoey Hess2009-08-15
|
* getsource: in the default template, just say "Source"Simon McVittie2009-07-26
| | | | | | All the other actions are single words (apart from RecentChanges), and are nouns (apart from Edit); saying "Source" is consistent with "History", for instance.
* Add getsource pluginWill Uther2009-07-26
|
* Merge commit 'upstream/master' into pub/pointrigeri2009-06-06
|\ | | | | | | | | | | | | | | | | Conflicts: debian/changelog debian/control Signed-off-by: intrigeri <intrigeri@boum.org>
| * comment: Make comment directives no longer use the internal "_comment" form, ↵Joey Hess2009-06-02
| | | | | | | | | | | | | | | | | | and document the comment directive syntax. Rationalle: Comments need to be user-editable so that they can be posted via git commit etc. The _comment directive is still supported, for back-compat.
* | Merge branch 'master' into poJoey Hess2009-05-19
|\| | | | | | | | | Conflicts: debian/changelog
| * comments: Add link to comment post form to allow user to sign in if they ↵Joey Hess2009-04-23
| | | | | | | | wish to, if the configuration makes signin optional for commenting.
* | Merge commit 'upstream/master' into pub/pointrigeri2009-04-20
|\| | | | | | | | | | | | | Conflicts: debian/changelog debian/control
| * Add a microblog template that is useful for inlining microblogging posts.Joey Hess2009-04-11
| |
| * inline: Add author info to archive display.Joey Hess2009-04-10
| | | | | | | | | | This won't change it normally, and is useful if using archive format to display some aggregated feed titles.
| * fix formatJoey Hess2009-04-10
| |
| * Add missing permalink support to archivepage and titlepage templates.Joey Hess2009-04-10
| |
* | page.tmpl: use OTHERLANGUAGES and PERCENTTRANSLATEDintrigeri2009-03-28
| | | | | | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* | Merge branch 'master' into poJoey Hess2009-03-27
|\| | | | | | | | | Conflicts: debian/control
| * comments: Fix anchor ids to be legal xhtml. Closes: #521339Joey Hess2009-03-26
| | | | | | | | | | | | | | | | | | | | | | Well, that was a PITA. Luckily, this doesn't break guids to comments in rss feeds, though it does change the links. I haven't put in a warning about needing to rebuild to get this fix. It's probably good enough for new comments to get the fix, without a lot of mass rebuilding.
* | Merge commit 'upstream/master' into prv/pointrigeri2009-03-09
|\|
| * make wmd comment support comment editing (I think)Joey Hess2009-03-07
| |
| * forgot to add wmd tag hereJoey Hess2009-03-07
| |
* | Merge commit 'upstream/master' into prv/pointrigeri2009-03-08
|\| | | | | | | | | | | | | | | | | | | | | Conflicts: IkiWiki/Plugin/editpage.pm debian/control debian/copyright doc/todo/need_global_renamepage_hook.mdwn Signed-off-by: intrigeri <intrigeri@boum.org>