Powered by Material for MkDocs
Install python dependencies:
$ pip install -r requirements.txt
Build the whole blog (including blog posts, pages, and archive page):
$ make
Preview the blog locally:
$ make serve
Remove all build files:
$ make clean
Write your blog in a markdown file (.md
), outside of the project directory. Your file should look like this.
---
blog:
author: # author name
---
# Blog title here
Blog contents...
Then run this command to add your file to the blogs section.
$ python -m scripts publish -f /path/to/post.md
At last, add, commit, and push the changes.
Just edit archive.yml
. The entry will be automatically added on build.