diff --git a/starters/documentation/config/_default/hugo.yaml b/starters/documentation/config/_default/hugo.yaml index 7959a56a..56a34e7c 100644 --- a/starters/documentation/config/_default/hugo.yaml +++ b/starters/documentation/config/_default/hugo.yaml @@ -37,14 +37,6 @@ cascade: header: navbar: enable: true - # Blog section options - - _target: - path: /post/* - kind: section - # Change url to /blog/ - url: /blog/ - # Set the listing view - view: date-title-summary ############################ ## LANGUAGE @@ -70,6 +62,7 @@ footnotereturnlinkcontents: ^ ignoreFiles: [\.ipynb$, .ipynb_checkpoints$, \.Rmd$, \.Rmarkdown$, _cache$] enableInlineShortcodes: true permalinks: + post: '/blog/:slug/' authors: '/author/:slug/' tags: '/tag/:slug/' categories: '/category/:slug/' diff --git a/starters/documentation/content/post/_index.md b/starters/documentation/content/post/_index.md index 9bff67d5..f040c7e0 100644 --- a/starters/documentation/content/post/_index.md +++ b/starters/documentation/content/post/_index.md @@ -1,3 +1,5 @@ --- title: Blog +view: date-title-summary +url: /blog/ --- diff --git a/starters/documentation/go.mod b/starters/documentation/go.mod index 6e492976..c385278a 100644 --- a/starters/documentation/go.mod +++ b/starters/documentation/go.mod @@ -4,5 +4,5 @@ go 1.15 require ( github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify v1.1.2-0.20240217212918-ae7f0c597978 - github.com/HugoBlox/hugo-blox-builder/modules/blox-tailwind v0.2.1-0.20240218004752-06e9c42adcfe + github.com/HugoBlox/hugo-blox-builder/modules/blox-tailwind v0.2.1-0.20240224164709-5fc2af797a35 )