Update Blog configuration
This commit is contained in:
32
README.md
32
README.md
@ -142,23 +142,31 @@ export const SITE = {
|
||||
};
|
||||
|
||||
export const BLOG = {
|
||||
disabled: false,
|
||||
slug: "blog", // you can change this to "articles" (/articles)
|
||||
disabled: false,
|
||||
postsPerPage: 4,
|
||||
|
||||
postsWithoutBlogSlug: true, // true (/some-slug), false (/blog/some-slug),
|
||||
postsPerPage: 6,
|
||||
blog: {
|
||||
disabled: false,
|
||||
pathname: 'blog', // blog main path, you can change this to "articles" (/articles)
|
||||
},
|
||||
|
||||
category: {
|
||||
disabled: false,
|
||||
slug: "category", // set empty to change from /category/some-slug to /some-slug
|
||||
},
|
||||
post: {
|
||||
disabled: false,
|
||||
pathname: '', // empty for /some-post, value for /pathname/some-post
|
||||
},
|
||||
|
||||
tag: {
|
||||
disabled: false,
|
||||
slug: "tag",
|
||||
},
|
||||
category: {
|
||||
disabled: false,
|
||||
pathname: 'category', // set empty to change from /category/some-category to /some-category
|
||||
},
|
||||
|
||||
tag: {
|
||||
disabled: false,
|
||||
pathname: 'tag', // set empty to change from /tag/some-tag to /some-tag
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
```
|
||||
|
||||
<br>
|
||||
|
Reference in New Issue
Block a user