From 882af0656327476b523e0d6538b29ae9ad6eda28 Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Tue, 31 May 2022 00:19:18 +0200 Subject: Mior reformatting of posts layout --- exampleSite/config.toml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'exampleSite') diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 64401db..242049d 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -149,8 +149,8 @@ disableKinds = ['RSS'] footer = 'Built with Ed. Distributed under an MIT license.' # Sections to be displayed in the main page, as well as RSS/Atom feeds mainSections = ['posts', 'dramas', 'narratives', 'poems'] - # Order of post meta information - postMeta = ['date'] + # Order of post meta information. Order is important. + postMeta = ['author', 'date'] # Posts date format, for example: 2006-01-02 dateformat = ':date_long' dateFormatToc = '2006.01.02' @@ -251,3 +251,9 @@ disableKinds = ['RSS'] [markup.goldmark.parser.attribute] # Enable custom attribute support for blocks block = true + +# If enableGitInfo is true, it will override any lastmod dates in our +# front matter. We should at least allow ourselves to manually override +# this value in the front matter. +[frontmatter] + lastmod = ['lastmod', ':git', 'date', 'publishDate'] -- cgit v1.2.3