Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/spookey/slick.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAos <aosdab@gmail.com>2018-11-14 01:46:35 +0300
committerGitHub <noreply@github.com>2018-11-14 01:46:35 +0300
commitce00655848256ef13b8e46417270e7dbbbef8533 (patch)
treeb4bc489c7a09a9cae234f61296152e7b96494240 /README.md
parent9dc4073c8b55dde9bd4533877c69502db81a5d8e (diff)
Enables custom date format using a config variable (#15)
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.md b/README.md
index f24f390..5d90a3f 100644
--- a/README.md
+++ b/README.md
@@ -66,6 +66,11 @@ copyright = "(c) 2008 - 2014"
# Enables the topmenu, which pulls from categories
topmenu = "categories"
+ # Enables custom date format (optional, the default is MM-DD-YYYY)
+ # For reference to date and time templating, see:
+ # https://gohugo.io/functions/format/#hugo-date-and-time-templating-reference
+ dateformatpretty = "2006-01-02"
+
# Builds a list page for each category given
[taxonomies]
tag = "tags"