summaryrefslogtreecommitdiff
path: root/templates/page.tmpl
AgeCommit message (Collapse)Author
2009-07-20The website http://blog.html.it/layoutgala/ present a simple yetlayoutgalaJonas Smedegaard
flexible html structure allowing 40 different visualisations by changing only CSS. As of 3.14159, ikiwiki (with sidebar plugin) use this DIV structure: .pageheader .header #sidebar #content #footer Layout Gala use the following DIV structure: #container #header #wrapper #content #navigation #extra #footer With this patch the following DIV structure is used: #container .pageheader .header #contentwrapper #content #sidebar #farbar #footer More detailed, the following is changed: * container added around whole body + needed for Layout Gala + allows setting cosmetic outer space/coloring around whole body * sidebar moved below content + needed for Layout Gala + considered by some to improve accessibility + considered by some to improve search engine ranking (a.k.a. "SEO") * farbar added (needs clone of sidebar plugin to be of use) + no grand benefit - but hurts noone if unused either The following deliberately differ from Layout Gala: * header is a class, not an id + too intrusive to change: many iki sites may rely on current class + too ugly to add: technically possible to extend .pageheader to also be #header while preserving .header, but too confusing with both .header and #header meaning different things. * sidebar instead of navigation + too intrusive to change... * farbar instead of extra + when sidebar is kept, extend it - inspired by discussion at http://green-beast.com/blog/?p=117 This continues to fit pretty well with the proposed naming scheme at http://www.stuffandnonsense.co.uk/archives/whats_in_a_name_pt2.html (as it did already with plain ikiwiki - thanks for that, Joey!)
2009-03-28page.tmpl: use OTHERLANGUAGES and PERCENTTRANSLATEDintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-07repolist: New plugin to support the rel=vcs-* microformat.Joey Hess
* repolist: New plugin to support the rel=vcs-* microformat. * goodstuff: Include repolist by default. (But it does nothing until configured with the repository locations.)
2008-12-20comments: Rename COMMENTURL to ADDCOMMENTURL to avoid confusion with ↵Simon McVittie
COMMENTAUTHORURL Also refactor page.tmpl to use if/else rather than unless/if.
2008-12-19replace discussion links on pages with comments linkJoey Hess
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.)
2008-12-17add Comments link when displaying a page inlineJoey Hess
This link will supplant the usual Discussion link for pages that have comments enabled.
2008-12-11page.tmpl: optionally include "add comment" linkSimon McVittie
2008-12-11Add comments to page.tmplSimon McVittie
2008-10-19fix relativedate timezone inclusionJoey Hess
The machine parseable date needs to include a timezone. Also, simplified the interface for date display.
2008-10-17relativedate: New javascript-alicious plugin that makes all dates display ↵Joey Hess
relative, in a very nice way, if I say so myself.
2008-07-15Oops, add missing </span>Simon McVittie
2008-07-15More CSS hooks for page.tmpl.Simon McVittie
I notice madduck.net already has a similar change :-)
2008-07-13Add more stylesheet hooks to the page templateSimon McVittie
* 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
2008-06-21Add support for the universal edit buttonJoey Hess
<http://universaleditbutton.org/> Not forcing a rebuild on upgrade just for this.
2008-05-28Add rel=nofollow to edit links. This may prevent some spiders from pounding ↵Joey Hess
on the cgi following edit links.
2008-02-09* Page templates can now use CTIME to show when the page was created.Joey Hess
2007-11-08Add xmlns attribute on html element in templates; pages can now validate.Josh Triplett
2007-09-20* Fix copyright and licence styling.joey
2007-09-15basic styling for license and copyrightjoey
2007-09-14* meta: Support license and copyright information. The information willjoey
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.
2007-05-11* Make all templates have a footer div to ease themeing. Required templatejoey
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.
2007-04-26more footer improvementsjoey
2007-04-26* Move the footer div to enclose tags and links too.joey
* More style sheet updates, remove the hack that used the tags div to create the footer border.
2007-04-18* Minor template improvements by Alessandro.joey
2007-04-06use popup balloon for more backlinks, rather than expanding on hover, sincejoey
in some cases it's not possible to move the mouse over the more backlinks using the old method
2007-04-06* Reorder the icon in the template above the stylesheets, to avoid iconjoey
flashing during page load.
2007-03-31* Hide excess backlinks and expand using CSS trick; control quantiy viajoey
the numbacklinks setting.
2007-03-21the real bug turned out to be in the meta pluginjoey
2007-03-21forgot to revert thisjoey
2007-03-21* Fix a few bugs around page titles containing html. The worst of thesejoey
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.
2006-12-28Changes from StefanoZacchiroli:joey
- 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>
2006-12-23* Add mirrorlist plugin.joey
2006-10-08* Atom feed support based on a patch by Clint Adams.joey
* 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.
2006-09-17fix mime typejoey
2006-09-16* Updated ikiwiki.svgz from Recai, includes an icon and is used to generatejoey
a multi-resolution favicon.ico.
2006-09-16* pagetemplate hooks are now also called when generating cgi pages.joey
* Add a favicon plugin, which simply adds a link tag for an icon to each page (and cgis).
2006-09-06* Include <link rel> tag for RSS feeds, used by some aggregators andjoey
firefox to find the feed.
2006-08-28* Patch from James Westby to add an actions option to inline; thisjoey
adds Edit and Discussion links at the end of blog entries.
2006-08-24* Make all pages pull in a local.css style sheet, if present. This won'tjoey
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.
2006-08-22revert broken parentlinks fix, which was broken, explain whyjoey
add plugins/contrib page to avoid broken link on this wiki
2006-08-21* Clean up behavior with broken parentlinks.joey
2006-08-21* Fixed a bug with previews of subpages having broken links to top-leveljoey
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.
2006-08-18* Add a tail fin^W^Wsidebar plugin by Tuomo Valkonen.joey
* 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.
2006-07-28Hope encrico doesn't mind, but I changed the location and layout of thejoey
tags on the templates. This way seems to fit better with the links. Also some css cleanup, avoid hardcoded <i> etc.
2006-07-27 - Adds a tag plugin that allows more easily tagging pages.joey
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.
2006-06-02* Reorganised the doc wiki's todo/* pages, using a link/tag to flagjoey
* Allow pagetemplate plugins to override *anything* in the template. * Add a meta plugin, which allows specifying various metadata about pages, like license and author. It also allows for inserting html link and meta tags into html, overriding the title, and adding hidden WikiLinks, which can be useful when using link-based globbing for page categorisation. * Remove preprocessor directives from inlined pages. * Allow simple preprocessor directive values to be specified w/o quotes.
2006-05-26better fix for empty actions list issuejoey
2006-05-26* Rebuilding on upgrade to this version is recommended.joey
* Add a html validity check to the test suite, using the wdg-html-validator, if available. * Make the html valid when there is nothing in the actions list by adding an empty <li> to the end of it. * Reordered some function call parameters for consistency.
2006-05-26header can appear more than one time, so is a class, not an idjoey
2006-05-26* The page name and parent links has switched from using a <h1> to a styledjoey
<span>, so pages can use <h1> internally instead of needing to use <h2>. * Updated all of ikiwiki's own wiki pages for that. * Add pagetemplate hook, which can be used by plugins that want to mess around with adding new stuff to the page template. * Remove headercontent; the search plugin now adds the search box to the header by registering a pagetemplate hook, and other plugins should do similarly.