diff --git a/src/site.hs b/src/site.hs index 4e6711e..f0d5796 100644 --- a/src/site.hs +++ b/src/site.hs @@ -133,6 +133,7 @@ postCtx tags = tagsField "tags" tags -- <> teaserFieldWithSeparator "((.tease.))" "teaser" "content" <> dateField "date" "%B %e, %Y" + <> modificationTimeField "modified" "%B %e, %Y" <> teaserField "teaser" "content" <> defaultCtx diff --git a/templates/post.html b/templates/post.html index e7c6a10..1d089b5 100644 --- a/templates/post.html +++ b/templates/post.html @@ -4,9 +4,12 @@ Posted on $date$ $if(author)$ by $author$ - $endif$
+ $endif$
$if(tags)$ Tags: $tags$ + $endif$
+ $if(modified)$ + Last modified on $modified$ $endif$