diff options
author | anarcat <anarcat@web> | 2018-03-21 09:26:12 -0400 |
---|---|---|
committer | admin <admin@branchable.com> | 2018-03-21 09:26:12 -0400 |
commit | 19d79818247058dbe07cf85bf158f5c01254e100 (patch) | |
tree | 9d4b1d66d1a455737d71db2c4937221fd395f8ba /doc/ikiwiki | |
parent | 55cf1f9d9d223be56f43d5f6d94dfe67dc3bf072 (diff) | |
download | ikiwiki-19d79818247058dbe07cf85bf158f5c01254e100.tar ikiwiki-19d79818247058dbe07cf85bf158f5c01254e100.tar.gz |
clarify what date fields do, following [[bugs/invalid_meta_date_or_updated_not_diagnosed]]
Diffstat (limited to 'doc/ikiwiki')
-rw-r--r-- | doc/ikiwiki/directive/meta.mdwn | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/doc/ikiwiki/directive/meta.mdwn b/doc/ikiwiki/directive/meta.mdwn index 3df176c48..89a32946a 100644 --- a/doc/ikiwiki/directive/meta.mdwn +++ b/doc/ikiwiki/directive/meta.mdwn @@ -75,8 +75,12 @@ a quote in the text by writing `"` and so on. * date - Specifies the creation date of the page. The date can be entered in - nearly any format, since it's parsed by [[!cpan TimeDate]]. + Specifies the creation date of the page. This creates a + `<meta name="date" content="...">` header in the HTML output, but also + modifies the internal `ctime` in the [[internal index|tips/inside_dot_ikiwiki/]]. + The date can be entered in nearly any format, since it's parsed by + [[!cpan TimeDate]] but invalid dates yield an error in 3.20180321 + or later. * stylesheet @@ -193,7 +197,8 @@ a quote in the text by writing `"` and so on. modification time, like Planet: for instance, when editing an old blog post to add tags, you could set `updated` to be one second later than the original value. The date/time can be given in any format that - [[!cpan TimeDate]] can understand, just like the `date` field. + [[!cpan TimeDate]] can understand, just like the `date` field and maps to the + `<meta name="updated" content="...">` HTML header and internal `mtime` field. * foaf |