diff options
author | Frieder Griesshammer <frieder.griesshammer@der-beweis.de> | 2019-03-11 21:42:55 +0300 |
---|---|---|
committer | Frieder Griesshammer <frieder.griesshammer@der-beweis.de> | 2019-03-11 21:42:55 +0300 |
commit | c57d31f4a74e2e726c97db147b02432048ba942d (patch) | |
tree | e7b36d45782a486d37e29742f00c8a3ce9776812 /exampleSite | |
parent | ed810911261357199c86e85f3d39923b38e8a162 (diff) |
Finally found some way to let users freely configure the taxonomy links of their posts.
Use the new menu.meta to configure them, if none configured some fallback is used.
Further - post-meta is completely hidden if both showMetaDates and showMetaLinks are set to false.
closes #3
Diffstat (limited to 'exampleSite')
-rw-r--r-- | exampleSite/config.toml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 3862988..b97951b 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -60,6 +60,9 @@ paginatePath = "page" # If false the dates for the posts are not shown showMetaDates = true + # If false the taxonomy links for the posts are not shown + showMetaLinks = true + # Uses Hugo internal templates if set opengraph = false schema = false @@ -110,6 +113,23 @@ paginatePath = "page" url = "/series/" weight = 2 + + # Define the entries for post metadata + # Identifiers should match with the taxonomy entries + [[menu.meta]] + identifier = "categories" + name = "Categories" + weight = 1 + [[menu.meta]] + identifier = "series" + name = "Series" + weight = 2 + [[menu.meta]] + identifier = "tags" + name = "Tags" + weight = 3 + + # Add some footer links to your likings [[menu.footer]] name = "GitHub" |