aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/relativedate.pm
Commit message (Collapse)AuthorAge
* append javascript after CSSAntoine Beaupré2019-02-03
| | | | | | | | | | | | | | Javascript resources should be presented to browsers after CSS, and "after the fold" (ATF) according to the best practices: https://developers.google.com/speed/docs/insights/mobile#PutStylesBeforeScripts This change allows the browser to download Javascript files in parallel, by including Javascript on the *closing* </body> tag instead of the opening tag. We also improve the regex to tolerate spaces before the body tag, as some templates have (proper) indentation for the tag.
* Use local paths when including JavascriptSimon McVittie2010-11-23
|
* correct comment; javascript is put after <body>Joey Hess2010-08-12
|
* relativedate: Fix problem with localised dates not working.Joey Hess2010-06-09
|
* Use xhtml friendly pubdate setting.Joey Hess2010-05-08
|
* Add parameter to displaytime to specify that it is a pubdate, and in html5 ↵Joey Hess2010-05-02
| | | | mode, use time tag.
* Moved javascript files under the ikiwiki/ directory, to avoid cluttering the ↵Joey Hess2010-04-24
| | | | top of the web root. This is another things that requires a wiki rebuild on upgrade to this version.
* audited use POSIXJoey Hess2010-03-19
| | | | | | The POSIX perl module exports a huge number of functions by default, so make sure all imports are qualified. (And remove one that was not necessary.)
* toggle, relativedate: Support templates that add attributes to the body tag.Joey Hess2009-09-28
|
* finalise version 3.00 of the plugin apiJoey Hess2008-12-23
|
* Coding style change: Remove explcit vim folding markers.Joey Hess2008-12-17
|
* function injection overhaulJoey Hess2008-10-21
| | | | | | | | | | | Add an inject function, that can be used by plugins that want to replace one of ikiwiki's functions with their own version. (This is a scary thing that grubs through the symbol table, and replaces all exported occurances of a function with the injected version.) external: RPC functions can be injected to replace exported functions. Removed the stupid displaytime hook, and use injection instead.
* use relativedate as the css class for dates that should display relativeJoey Hess2008-10-20
|
* add displaytime hookJoey Hess2008-10-19
| | | | | | | | Need to use a hook because an exported function cannot be reliably overridden. The replacement verstion was actually only affecting plugins loaded after it. formattime doesn't need a hook, since there's no reason to export it.
* need to use localtime, fix widthJoey Hess2008-10-19
|
* fix relativedate timezone inclusionJoey Hess2008-10-19
| | | | | | The machine parseable date needs to include a timezone. Also, simplified the interface for date display.
* add missing getsetup hookJoey Hess2008-10-17
|
* relativedate: New javascript-alicious plugin that makes all dates display ↵Joey Hess2008-10-17
relative, in a very nice way, if I say so myself.