vuepress-theme-maker icon indicating copy to clipboard operation
vuepress-theme-maker copied to clipboard

home和archives的页面是哪里配的

Open HOUSHENGREN opened this issue 1 year ago • 2 comments

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
                  }
                }
            ],

HOUSHENGREN avatar May 30 '23 16:05 HOUSHENGREN

我路径错了,换成单斜杠就可以了😂 image

HOUSHENGREN avatar May 31 '23 13:05 HOUSHENGREN

我整好了,这是我的博客😁🤞😁 http://localhost:8080/zdz-blog/

HOUSHENGREN avatar Jun 01 '23 12:06 HOUSHENGREN