diff --git a/src/Main.hs b/src/Main.hs index dcbbc75..f06198d 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -124,6 +124,7 @@ postCtx :: Tags -> Context String postCtx tags = mconcat [ modificationTimeField "mtime" "%U" , dateField "date" "%B %e, %Y" + , dateField "datetime" "%F" , tagsField "tags" tags , defaultContext ] diff --git a/templates/post-list.html b/templates/post-list.html index 995c6a1..22336d4 100644 --- a/templates/post-list.html +++ b/templates/post-list.html @@ -1,7 +1,7 @@ diff --git a/templates/post.html b/templates/post.html index eb888ca..c5c2cbf 100644 --- a/templates/post.html +++ b/templates/post.html @@ -1,5 +1,5 @@
- Posted on $date$ + Posted on $if(author)$ by $author$ $endif$