add modification timestamp

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2022-10-22 07:35:59 +05:30
parent c7cb57950e
commit b08f757b2c
2 changed files with 5 additions and 1 deletions

View File

@@ -133,6 +133,7 @@ postCtx tags =
tagsField "tags" tags tagsField "tags" tags
-- <> teaserFieldWithSeparator "((.tease.))" "teaser" "content" -- <> teaserFieldWithSeparator "((.tease.))" "teaser" "content"
<> dateField "date" "%B %e, %Y" <> dateField "date" "%B %e, %Y"
<> modificationTimeField "modified" "%B %e, %Y"
<> teaserField "teaser" "content" <> teaserField "teaser" "content"
<> defaultCtx <> defaultCtx

View File

@@ -7,6 +7,9 @@
$endif$<br> $endif$<br>
$if(tags)$ $if(tags)$
Tags: $tags$ Tags: $tags$
$endif$<br>
$if(modified)$
Last modified on $modified$
$endif$ $endif$
</section> </section>
<hr> <hr>