summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2023-05-26 17:59:50 +0100
committerYann Herklotz <git@yannherklotz.com>2023-05-26 17:59:50 +0100
commitbd4816d61456b5f79def8d8e33fb485b518852cf (patch)
tree238cb5f794c26b0779a9ae4de1198974e8a8eec7
parentcc9d36e897065da95f6c85cb8b933dda7afe5ab3 (diff)
downloadzk-visual-bd4816d61456b5f79def8d8e33fb485b518852cf.tar.gz
zk-visual-bd4816d61456b5f79def8d8e33fb485b518852cf.zip
Add modified date to templatev0.1.0
-rw-r--r--data/markdown.template1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/markdown.template b/data/markdown.template
index 236018f..21d9b23 100644
--- a/data/markdown.template
+++ b/data/markdown.template
@@ -1,6 +1,7 @@
+++
title = "$title/nowrap$"
$if(date)$date = "$date/nowrap$"
+$endif$$if(modified)$modified = "$modified/nowrap$"
$endif$$if(author)$author = "$author/nowrap$"
$endif$tags = [$for(tags)$"$tags$"$sep$, $endfor$]
categories = [$for(categories)$"$categories$"$sep$, $endfor$]