@9wick/hexo-migrator-zenn
v1.0.1
Published
Migrate your blog from Zenn to [Hexo]. You can import only public page.
Downloads
3
Readme
@9wick/hexo-migrator-zenn
Migrate your blog from Zenn to Hexo. You can import only public page.
Install
$ npm install @9wick/hexo-migrator-zenn --save
Usage
Execute the following command after installed. username
is the Zenn username.
$ hexo migrate zenn <username> [--options]
- alias: Populates the
alias
setting in the front-matter, for use with the hexo-generator-alias module. This is useful for generating redirects. - redirect: Populates the
redirect
setting in the front-matter, for use with the hexo-generator-alias module. This is useful for generating redirects. - addtag: add 'zenn' tag.
- limit: Maximum number of posts to import from the feed. All posts are imported by default.
- Example:
$ hexo migrate zenn wicket --redirect --addtag
- skipduplicate: Skip posts with similar title as existing ones.
- If a feed contains a post titled 'Foo Bar' and there is an existing post named 'Foo-Bar.md', then that post will not be migrated.
- The comparison is case-insensitive; a post titled 'FOO BAR' will be skipped if 'foo-bar.md' exists.
- Without this option (default), this plugin will continue to migrate that post and create a post named 'Foo-Bar-1.md'