diff options
| author | Serghei Iakovlev <egrep@protonmail.ch> | 2022-05-31 00:19:18 +0200 |
|---|---|---|
| committer | Serghei Iakovlev <egrep@protonmail.ch> | 2022-05-31 00:19:18 +0200 |
| commit | 882af0656327476b523e0d6538b29ae9ad6eda28 (patch) | |
| tree | 7487e3ef1b40fc15f8fb3a8520b6b03db6bcbf0c /exampleSite | |
| parent | 5e9831ac36147e229fbc40774199ea1cb961ca93 (diff) | |
| download | gohugo-theme-ed-882af0656327476b523e0d6538b29ae9ad6eda28.tar.gz | |
Mior reformatting of posts layout
Diffstat (limited to 'exampleSite')
| -rw-r--r-- | exampleSite/config.toml | 10 |
1 files changed, 8 insertions, 2 deletions
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 <a href="https://github.com/sergeyklay/gohugo-theme-ed" target="_blank" rel="noopener noreferrer">Ed</a>. 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'] |
