1
0
mirror of https://github.com/funkypenguin/geek-cookbook/ synced 2025-12-13 09:46:23 +00:00

Refactor blog URL scheme (lets not break anything this time!)

Signed-off-by: David Young <davidy@funkypenguin.co.nz>
This commit is contained in:
David Young
2023-02-08 11:00:05 +13:00
parent a56bf5d13f
commit 6e9c3daca7
13 changed files with 23 additions and 20 deletions

View File

@@ -19,6 +19,7 @@ plugins:
meta:
blog:
# post_excerpt: required
post_url_format: "{date}/{file}" # this allows us to change the post title in future without breaking URLs
tags:
tags_file: blog/tags.md
rss:
@@ -47,16 +48,6 @@ plugins:
autolinks:
macros:
verbose: true
htmlproofer:
enabled: !ENV [PROD_BUILD, true]
raise_error: false
raise_error_excludes:
504: ['https://www.mkdocs.org/']
404: ['https://github.com/manuzhang/mkdocs-htmlproofer-plugin']
400: ['*']
git-committers: # This seems to create double-ups
repository: geek-cookbook/geek-cookbook
token: !ENV GH_TOKEN
meta-descriptions: # If not provided, auto-generate a description (https://pypi.org/project/mkdocs-meta-descriptions-plugin/)
with-pdf:
#author: David Young