Billy Chin
Billy Chin
> Is there a way to use the default theme with the blog plugin instead of the theme? A simple solution? I'm afraid not. But it would be possible if...
VP's default theme has been requested a same feature vuejs/vuepress#1865. Perhaps a plugin which supports not only default theme but also blog theme is a better approach to implement.
Could you also update other code example(Adding the comment)?
Thanks for the report and detailed information.
```js directories:[ { id: "zh", dirname: "_zh", path: "/zh/", itemLayout: "Post", itemPermalink: "/zh/:year/:month/:day/:slug", }, { id: "en", dirname: "_en", path: "/en/", itemLayout: "Post", itemPermalink: "/en/:year/:month/:day/:slug", } ] ``` Would this...
@songzhi This plugin doesn't provide date formatting. Probably, you've mixed up [blog theme](https://github.com/vuepressjs/vuepress-theme-blog) and blog plugin. Btw, blog theme has supported for [custom date](https://github.com/vuepressjs/vuepress-theme-blog/pull/28).
Hi @Mister-Hope , > I mean We don't want `xxx.com/en/xxxx`, just `xxx.com/xxxx`. We can not deal with that with the option you provided. sorry I don't get it. the path...
Nevertheless, making `dirname` accept a glob list is a good idea.
Oops, I modified the wrong line. ``` directories:[ { id: "zh", dirname: "_zh", path: "/zh/", itemPermalink: "/zh/:year/:month/:day/:slug", }, { id: "en", dirname: "_en", path: "/", itemPermalink: "/:year/:month/:day/:slug", } ] ```...
> But that will make the original markdown links wrong. It means all the xxx.com/yyy/zzz.html will move to xxx.com/en/yyy/zzz.html No it won't, please look carefully at the documentation and the...