Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 1.7 KB

README.md

File metadata and controls

51 lines (35 loc) · 1.7 KB

hateblo2hugo

Circle CI Language issues License: MIT GoDoc

hateblo2hugo is a tool to migrate blog data of hatenablog to markdown data for Hugo.

img

Install

$ go get github.com/stormcat24/hateblo2hugo

Preparation

Before use this tool, you must export blog data from hatenablog. Data format of hatenablog is Movable Type.

img

Usage

$ hateblo2hugo migrate -i ~/your_path/your_hatenablog.export.txt -o ~/your_path/your_hugo_blog/blog/

Migration Features

  • Remove Hatena Keyword link
  • Download images from hatena photo life, and locate files to {blog_dir}/static/images directory.
  • Embed contents
  • Code syntax

Example using hateblog2hugo

License

See LICENSE.

Copyright © stromcat24. All Rights Reserved.