Allow post permalink pattern configuration

This commit is contained in:
prototypa
2023-01-24 00:22:13 -05:00
parent ddeac0576f
commit 47948c3da3
7 changed files with 68 additions and 35 deletions

View File

@ -171,26 +171,26 @@ const CONFIG = {
disabled: false,
postsPerPage: 4,
post: {
permalink: '/%slug%', // variables: %slug%, %year%, %month%, %day%, %hour%, %minute%, %second%, %category%
noindex: false,
disabled: false,
},
list: {
pathname: 'blog', // Blog main path, you can change this to "articles" (/articles)
noindex: false,
disabled: false,
},
post: {
pathname: '', // Empty for /some-post, value for /pathname/some-post
noindex: false,
disabled: false,
},
category: {
pathname: 'category', // Set empty to change from /category/some-category to /some-category
pathname: 'category', // Category main path /category/some-category
noindex: true,
disabled: false,
},
tag: {
pathname: 'tag', // Set empty to change from /tag/some-tag to /some-tag
pathname: 'tag', // Tag main path /tag/some-tag
noindex: true,
disabled: false,
},