diff options
Diffstat (limited to 'riki.md')
-rw-r--r-- | riki.md | 23 |
1 files changed, 23 insertions, 0 deletions
@@ -582,3 +582,26 @@ when I run riki build site output then file output/index.html has a very old modification time then file output/index.jpg has a very old modification time ~~~ + +### Output files have source `meta date` modification times + +_Requirement: Files in the output directory have the time stamp +specified in a `meta date` directive._ + +Note that due to limitations in the Subplot `lib/files` library, our +check for modification times is imprecise. + +~~~scenario +given an installed riki +given file site/index.mdwn from dated +given file site/index.mdwn has modification time 2022-02-02 01:02:03 +when I run riki build site output +then file output/index.html has a very old modification time +~~~ + + +~~~{#dated .file .markdown} +[[!meta date="1970-01-01 00:00:00"]] + +Hello. +~~~ |