mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-23 21:02:09 +00:00
Add support for Hugo 0.124 renderSections
This commit is contained in:
parent
e5203528a0
commit
de3936943e
1 changed files with 129 additions and 115 deletions
14
config.toml
14
config.toml
|
@ -169,3 +169,17 @@ disableKinds = ["taxonomy", "term"]
|
||||||
minifyOutput = true
|
minifyOutput = true
|
||||||
disableXML = true
|
disableXML = true
|
||||||
disableHTML = true
|
disableHTML = true
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
[segments]
|
||||||
|
[segments.posts]
|
||||||
|
[[segments.posts.includes]]
|
||||||
|
output = 'html'
|
||||||
|
path = '{/posts,/posts/**}'
|
||||||
|
[[segments.notes.includes]]
|
||||||
|
output = 'html'
|
||||||
|
path = '{/notes,/notes/**}'
|
||||||
|
[[segments.entries.includes]]
|
||||||
|
output = 'html'
|
||||||
|
path = '{/notes,/notes/**,/posts,/posts/**}'
|
||||||
|
|
Loading…
Reference in a new issue