Explore topics

Markdown Metadata Post Init

Setup

Git clone the script into a new empty project folder.

Markdown init

Run

Copy the script into the content dir.

Run the Python post-init.py file.

python post-init.py

Configuration

To change the metadata configuration for the posts, edit config.ini file with metadata needed for the all posts.

[metadata]
category = 
tags =
author = Fitri Rahim

If no value set inside of config.ini it will request from user input. If there's value set this will be the default which can be overwrite with commandline.

For example for the author:

python post-init.py --author "Other Name"

Published on