Skip to content
/ j2z Public

CLI tool written in Go for converting Jekyll posts to Zola posts

License

Notifications You must be signed in to change notification settings

en9inerd/j2z

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a278fb4 · Feb 17, 2025

History

22 Commits
Nov 4, 2024
Feb 15, 2025
Feb 15, 2025
Feb 15, 2025
Nov 3, 2024
Nov 4, 2024
Jan 12, 2025
Feb 15, 2025
Jan 15, 2025
Oct 18, 2024
Oct 18, 2024

Repository files navigation

j2z

Simple CLI tool to convert a Jekyll markdown posts to Zola markdown posts.

Usage:

j2z --jekyllDir <path> --zolaDir <path> [--tz <timezone>] [--taxonomies <taxonomies>] [--aliases <true|false>]

Flags:

  • --jekyllDir (required): Specifies the path to the Jekyll directory containing the _config.yml file.
  • --zolaDir (required): Specifies the path to the Zola directory containing the content directory.
  • --tz (optional): Sets the timezone for the conversion. If not provided, the timezone will default to the local machine's timezone. Example: America/New_York.
  • --taxonomies (optional): A comma-separated list of taxonomies to include in the conversion. Default is tags,categories.
  • --aliases (optional): Enables aliases in the front matter if set to true. Default is false.