Socket
Socket
Sign inDemoInstall

hexo-migrator-ghost

Package Overview
Dependencies
3
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    hexo-migrator-ghost

Ghost migrator for Hexo


Version published
Weekly downloads
1
Maintainers
1
Install size
5.04 MB
Created
Weekly downloads
 

Readme

Source

hexo-migrator-ghost

Ghost migrator for Hexo.

Install

$ npm install hexo-migrator-ghost --save

Usage

Export from Ghost

Visit http://yourblog.com/ghost/debug/ , click Export and download the JSON file.

Import to Hexo

Execute the following command after installed. source is the file path exported by Ghost.

$ hexo migrate ghost <source>

Notice

This plugin will migrate following data from Ghost:

  • post title
  • post content
  • posd id
  • create date
  • update date
  • tags
  • status(is draft)
  • type(post or page)

Images will NOT be migrated!

In order to successfully migrate tags, you have to make sure the front-matter in ./scaffolds/post.md look like this:

title: {{ title }}
date: {{ date }}
tags: {{ tags }}
---

Keywords

FAQs

Last updated on 18 Jan 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc