summaryrefslogtreecommitdiff
path: root/doc/todo/cdate_and_mdate_available_for_templates.mdwn
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2010-02-19 13:31:37 -0500
committerJoey Hess <joey@gnu.kitenet.net>2010-02-19 13:31:37 -0500
commit75baac425b6640ccff9f6d4b3340e07aff972b3d (patch)
treeccc38628b3c745a52c7cc2cd0b6a7f0c9a7da6b0 /doc/todo/cdate_and_mdate_available_for_templates.mdwn
parent21997387d40326e623cddb10a93dcb208025b77a (diff)
parent59017c6ae19f661761d0ae3f143fbda643ca1e8d (diff)
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Diffstat (limited to 'doc/todo/cdate_and_mdate_available_for_templates.mdwn')
-rw-r--r--doc/todo/cdate_and_mdate_available_for_templates.mdwn15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/todo/cdate_and_mdate_available_for_templates.mdwn b/doc/todo/cdate_and_mdate_available_for_templates.mdwn
new file mode 100644
index 000000000..70d8fc8c9
--- /dev/null
+++ b/doc/todo/cdate_and_mdate_available_for_templates.mdwn
@@ -0,0 +1,15 @@
+[[!tag wishlist]]
+
+`CDATE_3339`, `CDATE_822`, `MDATE_3339` and `MDATE_822` template variables would be useful for evey page, at least for my templates with Dublin Core metadata.
+
+I tried to pick the relevant lines of the [[inline|plugins/inline]] plugin and hack it into a custom plugin, but it failed miserably because of my obvious lack of perl litteracy...
+
+Anyway, I'm sure this is almost nothing...
+
+* `sub date_822 ($) {}`
+* `sub date_3339 ($) {}`
+* and something like `$template->param('cdate_822' => date_822($IkiWiki::pagectime{$page}));`
+
+Anyone can fill the missing lines?
+
+-- [[nil]]