|
1 year ago | |
---|---|---|
pelican | 1 year ago | |
.editorconfig | 1 year ago | |
.gitignore | 1 year ago | |
.gitmodules | 1 year ago | |
Makefile | 1 year ago | |
license | 1 year ago | |
readme.md | 1 year ago | |
requirements.txt | 1 year ago |
This is a Pelican based blog that powers c0de.dev. There's not really a whole lot here, but it contains all the configuration files and plugins/themes.
git clone --recurse-submodules https://github.com/alopexc0de/c0de.dev-blog
cd c0de.dev-blog
make install
cd c0de.dev-blog
make update
For seperation, I store the content in a private repo (can't read my drafts and encrypted blogs without the password). Also as a matter of choice, I'm using Markdown as markup language.
Categories are defined per folder in the c0de.dev-content repository. To create a new category, simply create a new folder in that repo with at least one post within. For posts without a category, simply throw the new posts in the root of the repo.
When a new post has been created (with the appropiate metadata), the steps to generate the output is as follows:
cd c0de.dev-blog
make update
cd pelican
make clean
make html