aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorhttps://www.google.com/accounts/o8/id?id=AItOawlRjjrKEyPmXnh2qBEGx9PgH5DP32wCMAQ <Jonathon@web>2013-01-27 04:20:15 -0400
committeradmin <admin@branchable.com>2013-01-27 04:20:15 -0400
commit5383207703fa7791d5f3365dfedb4dc89c42c1e4 (patch)
tree2c6e23bbaf7a3d2609ac3e57c4d1c33e270baca3 /doc
parentd4e0aa8853fb6b5a4e9d253d46c19f83138d1d1a (diff)
downloadikiwiki-5383207703fa7791d5f3365dfedb4dc89c42c1e4.tar
ikiwiki-5383207703fa7791d5f3365dfedb4dc89c42c1e4.tar.gz
Diffstat (limited to 'doc')
-rw-r--r--doc/todo/edittemplate_should_support_uuid__44___date_variables.mdwn13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/todo/edittemplate_should_support_uuid__44___date_variables.mdwn b/doc/todo/edittemplate_should_support_uuid__44___date_variables.mdwn
new file mode 100644
index 000000000..9d77f94a9
--- /dev/null
+++ b/doc/todo/edittemplate_should_support_uuid__44___date_variables.mdwn
@@ -0,0 +1,13 @@
+I use a default template for all new pages:
+
+ [[!meta title="<TMPL_VAR name>"]]
+ [[!meta author=]]
+ [[!meta date="<TMPL_VAR time>"]]
+ [[!meta guid="urn:uuid:<TMPL_VAR uuid>"]]
+ [[!tag ]]
+
+This encourages me to include useful metadata on the page. In particular, though, I've modified the `edittemplate` plugin to generate a uuid for use in the guid, for use in `inline`. Importantly, this keeps `inline` from flooding aggregators when I rename these pages.
+
+I've also noticed that IkiWiki seems to use the creation time for the generated page for the page date. This means that when I do a rebuild, `inline`d pages get shuffled. The inclusion of a `time` variable in `edittemplate` (and in a `meta` declaration for all such pages) prevents the date from changing unexpectedly.
+
+I've already made these changes in my installation, and have made my patches available in the `edittemplate` branch of my repository, which [[I've posted|git]].