My personal blog.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
content
extras/wordpress
settings
.gitignore
README.md
fabfile.py

README.md

Jestřáblog

Jestřáblog is my personal blog. It is powered by Python, Pelican, Markdown and Jinja2. Blog is hosted on GitHub Pages as a static website and is available at blog.petrnohejl.cz.

Special thanks to Honza for inspiration and discovering Pelican.

How to use

Python dependencies:

Use Fabric commands to build and publish Pelican blog:

fab build             Build website with development settings
fab build_production  Build website with production settings
fab clean             Clean output
fab commit_ghp        Build and deploy website to GitHub Pages
fab commit_master     Commit web sources to Git repo
fab new               Create new article template
fab publish           Push web sources, build and deploy website
fab rebuild           Clean and build
fab regenerate        Autoreloading building of website with development settings
fab reserve           Build and run server
fab serve             Run server

TLDR:

  • Create a new article with fab new
  • Check article preview locally with fab reserve
  • Publish the article with fab publish
  • Push master and gh-pages branches

Written by

Petr Nohejl

License

Copyright 2014 Petr Nohejl