Alias all old posts

This commit is contained in:
2021-04-27 15:35:52 +01:00
parent 8e72d230de
commit f692501a8d
21 changed files with 121 additions and 26 deletions

View File

@@ -14,6 +14,9 @@ disableLiveReload = false # Optional, set true to disable live reload
enableRobotsTXT = true # Suggested, enable robots.txt file
sectionPagesMenu = "main" # Enable menu system for lazy bloggers
[outputs]
home = ["HTML", "RSS", "JSON"]
[markup.goldmark.renderer]
unsafe = true # Optional, allows HTML inside your CommonMark content
[markup.tableOfContents]
@@ -44,6 +47,9 @@ sectionPagesMenu = "main" # Enable menu system for lazy bloggers
[params.hackcss]
mode = "standard"
[params.layout.home]
hide_blog = true
[[params.layout.home.section]]
type = "post"
limit = 3
@@ -63,3 +69,9 @@ sectionPagesMenu = "main" # Enable menu system for lazy bloggers
[[menu.main]]
name = "Fiction"
url = "/categories/fiction/"
[[menu.main]]
name = "Search"
identifier = "search"
url = "/search/"
post = "<svg aria-hidden=\"true\" class=\"i-search\" viewBox=\"0 0 32 32\" width=\"14\" height=\"14\" fill=\"none\" stroke=\"currentcolor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"3\"><circle cx=\"14\" cy=\"14\" r=\"12\" /><path d=\"M23 23 L30 30\" /></svg>"