Allow post permalink pattern configuration
This commit is contained in:
16
README.md
16
README.md
@ -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,
|
||||
},
|
||||
|
Reference in New Issue
Block a user