]> sipb.mit.edu Git - ikiwiki.git/commitdiff
Provide a UUID in edittemplate templates.
authorJonathon Anderson <anderbubble@gmail.com>
Fri, 25 Jan 2013 05:42:23 +0000 (08:42 +0300)
committerSimon McVittie <smcv@debian.org>
Mon, 1 Sep 2014 07:54:37 +0000 (08:54 +0100)
I want to make GUIDs for my RSS feeds that don't change when I move
pages around.  To that end, I've used UUID::Tiny to generate a
version 4 (random) UUID that is presented in a `uuid` variable in
the template.

At that point, you can do something like this:

    [[!meta guid="urn:uuid:<TMPL_VAR uuid>"]]


No differences found