Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 705 Bytes

README.md

File metadata and controls

16 lines (13 loc) · 705 Bytes
  1. In WordPress Settings, set permalinks to post name.
  2. Install the Basic Auth Plugin to WordPress
  3. Install the required packages: pip3 install -r requirements.txt
  4. Copy config.template.json to config.json and fill in the details.

This tool does not handle:

  • Checking for post existence. Therefore, multiple CLI calls with the same parameters will yield the multiple of the same posts.

Usage

Convert a Jekyll file to WordPress posts

python3 /path/to/jekyll-to-wordpress/main.py --file /path/to/file.md

Convert a directory of Jekyll files to WordPress posts

python3 /path/to/jekyll-to-wordpress/main.py --directory /path/to/_posts