aboutsummaryrefslogtreecommitdiff
path: root/templates/page.tmpl
Commit message (Expand)AuthorAge
* page.tmpl: Add Cache-Control must-revalidate to ensure that users (especially...•••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. Joey Hess2010-03-31
* typoJoey Hess2009-11-09
* localstyle: New plugin, allows overrding the toplevel local.css with one that...•••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. Joey Hess2009-11-09
* further otherlanguages list stylingJoey Hess2009-08-15
* getsource: in the default template, just say "Source"•••All the other actions are single words (apart from RecentChanges), and are nouns (apart from Edit); saying "Source" is consistent with "History", for instance. Simon McVittie2009-07-26
* Add getsource pluginWill Uther2009-07-26
* page.tmpl: use OTHERLANGUAGES and PERCENTTRANSLATED•••Signed-off-by: intrigeri <intrigeri@boum.org> intrigeri2009-03-28
* repolist: New plugin to support the rel=vcs-* microformat.•••* repolist: New plugin to support the rel=vcs-* microformat. * goodstuff: Include repolist by default. (But it does nothing until configured with the repository locations.) Joey Hess2009-01-07
* comments: Rename COMMENTURL to ADDCOMMENTURL to avoid confusion with COMMENTA...•••Also refactor page.tmpl to use if/else rather than unless/if. Simon McVittie2008-12-20
* replace discussion links on pages with comments link•••The thinking here is that having both a Discussion page and comments for the same page is redundant, and certianly not what you want if you enable comments for a page. At first I considered making configurable via pagespec what pages got discussion links. But that would mean testing a new pagespec for every page, and a redundant config setting to keep in sync. So intead, take a lead from my previous change to make inlined pages have a comments link, and change the discussion link at the top of regular pages to link to their comments. (Implementation is a bit optimised to avoid redundant pagespec checking.) Joey Hess2008-12-19
* add Comments link when displaying a page inline•••This link will supplant the usual Discussion link for pages that have comments enabled. Joey Hess2008-12-17
* page.tmpl: optionally include "add comment" linkSimon McVittie2008-12-11
* Add comments to page.tmplSimon McVittie2008-12-11
* fix relativedate timezone inclusion•••The machine parseable date needs to include a timezone. Also, simplified the interface for date display. Joey Hess2008-10-19
* relativedate: New javascript-alicious plugin that makes all dates display rel...Joey Hess2008-10-17
* Oops, add missing </span>Simon McVittie2008-07-15
* More CSS hooks for page.tmpl.•••I notice madduck.net already has a similar change :-) Simon McVittie2008-07-15
* Add more stylesheet hooks to the page template•••* Wrap header stuff, including actions, in <div class="pageheader"> (there is already a class="header", which is a subset of this, so using id="header" would be confusing) * Add class="pagefooter" to the existing <div id="footer">, for symmetry Simon McVittie2008-07-13
* Add support for the universal edit button•••<http://universaleditbutton.org/> Not forcing a rebuild on upgrade just for this. Joey Hess2008-06-21
* Add rel=nofollow to edit links. This may prevent some spiders from pounding o...Joey Hess2008-05-28
* * Page templates can now use CTIME to show when the page was created.Joey Hess2008-02-09
* Add xmlns attribute on html element in templates; pages can now validate.Josh Triplett2007-11-08
* * Fix copyright and licence styling.joey2007-09-20
* basic styling for license and copyrightjoey2007-09-15
* * meta: Support license and copyright information. The information will••• be shown in the page footer. HTML will also be inserted that should support the rel=license microformat as well as the HTML spec's rel=copyright. joey2007-09-14
* * Make all templates have a footer div to ease themeing. Required template••• and style sheet updates, and unless you're using customised versions, you'll want to rebuild wikis on upgrade to this version to avoid inconsistencies. * Allow WIKINAME to to used in footers, as an example of something to put there. joey2007-05-11
* more footer improvementsjoey2007-04-26
* * Move the footer div to enclose tags and links too.•••* More style sheet updates, remove the hack that used the tags div to create the footer border. joey2007-04-26
* * Minor template improvements by Alessandro.joey2007-04-18
* use popup balloon for more backlinks, rather than expanding on hover, since•••in some cases it's not possible to move the mouse over the more backlinks using the old method joey2007-04-06
* * Reorder the icon in the template above the stylesheets, to avoid icon••• flashing during page load. joey2007-04-06
* * Hide excess backlinks and expand using CSS trick; control quantiy via••• the numbacklinks setting. joey2007-03-31
* the real bug turned out to be in the meta pluginjoey2007-03-21
* forgot to revert thisjoey2007-03-21
* * Fix a few bugs around page titles containing html. The worst of these••• is an actual security hole as it allows insertion of html into the title element of a page, which is not processed by the htmlscrubber. joey2007-03-21
* Changes from StefanoZacchiroli:•••- Use div for inlinepage actions, not a span - Add an enclosing "trailer" div Also, change pageinfo span into a div, since it now can include <p> joey2006-12-28
* * Add mirrorlist plugin.joey2006-12-23
* * Atom feed support based on a patch by Clint Adams.•••* Add feeds=no option to inline preprocessor directive to turn off all types of feeds. feeds=rss will still work, and feeds=atom was also added, for fine control. * $IkiWiki::version now holds the program version, and is accessible to plugins. joey2006-10-08
* fix mime typejoey2006-09-17
* * Updated ikiwiki.svgz from Recai, includes an icon and is used to generate••• a multi-resolution favicon.ico. joey2006-09-16
* * pagetemplate hooks are now also called when generating cgi pages.•••* Add a favicon plugin, which simply adds a link tag for an icon to each page (and cgis). joey2006-09-16
* * Include <link rel> tag for RSS feeds, used by some aggregators and••• firefox to find the feed. joey2006-09-06
* * Patch from James Westby to add an actions option to inline; this••• adds Edit and Discussion links at the end of blog entries. joey2006-08-28
* * Make all pages pull in a local.css style sheet, if present. This won't••• be included in ikiwiki, but can be created to make local styling changes w/o needing to merge in every new change to the distributed style.css. joey2006-08-24
* revert broken parentlinks fix, which was broken, explain why•••add plugins/contrib page to avoid broken link on this wiki joey2006-08-22
* * Clean up behavior with broken parentlinks.joey2006-08-21
* * Fixed a bug with previews of subpages having broken links to top-level••• pages. * Change how the stylesheet url is determined in the templates: Remove STYLEURL and add BASEURL to all templates (some already had it). This new more general variable can be used to link to other things (eg, images) from the template, as well as stylesheets. joey2006-08-21
* * Add a tail fin^W^Wsidebar plugin by Tuomo Valkonen.•••* If a page links to itself, mark up the link text in a span with class="selflink" so that it can be styled. I don't have a useful style defined for that though. joey2006-08-18
* Hope encrico doesn't mind, but I changed the location and layout of the•••tags on the templates. This way seems to fit better with the links. Also some css cleanup, avoid hardcoded <i> etc. joey2006-07-28
* - Adds a tag plugin that allows more easily tagging pages.••• The meta plugin can also still be used for that, but the tag plugin also lists a page's tags at the bottom of the page. - Allows preprocessor directives to have parameters with no specified value. - Fixes preprocessor directive parameter parsing so that foo=bar baz now means "foo=bar" and a "baz" with no value. * Run pagetemplate hooks when inlining pages so that inlines pages also list their tags. * Make all plugins with pagetemplate hooks check that variables exist on the template before setting them. joey2006-07-27