File tree Expand file tree Collapse file tree 1 file changed +10
-14
lines changed
Expand file tree Collapse file tree 1 file changed +10
-14
lines changed Original file line number Diff line number Diff line change @@ -11,26 +11,22 @@ cascade:
1111 draft : true
1212
1313 - _target :
14- path : ' /collections'
15- # Do not apply the 'collections.html' layout to this page
16- layout : ' list'
17- # Do not use the 'permalinks.section.collections' URL pattern for this page
18- url : ' collections'
19-
20- - _target :
21- path : ' /collections/*'
22- # Do not use the 'permalinks.section.collections' URL pattern
23- url : ' :sections[:2]'
14+ path : ' /collections{,/**}'
15+ kind : ' section'
16+ outputs :
17+ # Drop 'RSS'
18+ - ' HTML'
2419
2520 - _target :
26- path : ' /collections{, /**} '
21+ path : ' /collections/**'
2722 kind : ' section'
2823 # Render a collection sub-section's landing page as a regular page
2924 layout : ' single'
25+
26+ - _target :
27+ path : ' /collections/*/**'
28+ kind : ' section'
3029 # Must set the URL here with the '.html' file extension instead of in the
3130 # 'permalinks' site configuration because, since v0.148.0, Hugo no longer
3231 # generates ugly URLs for section pages
3332 url : ' :sections[:2]/:sections[last].html'
34- outputs :
35- # Drop 'RSS'
36- - ' HTML'
You can’t perform that action at this time.
0 commit comments