Skip to content

home和archives的页面是哪里配的 #19

@HOUSHENGREN

Description

@HOUSHENGREN

image

代码
image

 blog: {
            directories: [
                {
                  id: 'experience',
                  dirname: 'experience',
                  path: '/experience/',
                  itemPermalink: '/experience/:year/:month/:day/:slug.html',
                  pagination: {
                    perPagePosts: 10,
                  },
                }
            ],
            frontmatters: [
                {
                  id: "tag",
                  keys: ['tag', 'tags'],
                  path: '/tags/',
                  frontmatter: { title: 'Tag' },
                  pagination: {
                    lengthPerPage: 10
                  }
                },
                {
                  id: "category",
                  keys: ['category', 'categories'],
                  path: '/categories/',
                  frontmatter: { title: 'Category' },
                  pagination: {
                    lengthPerPage: 10
                  }
                }
            ],

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions