Taiga blog
Taiga blog (https://blog.taiga.io/) made with Pelican (https://github.com/getpelican/pelican).
For developers:
Setup
-
Create virtualenv:
-
With virtaulenvwrapper (old style)
mkvirtualenv -p /usr/bin/python3 taiga-blog workon taiga-blog
-
Or with venv (new style)
python3 -m venv .env source .env/bin/activate
-
-
Install python dependencies:
pip install -r requirements.txt
-
Install SASS (only if you want to modify style):
gem install sass scss-lint export PATH="/usr/bin/core_perl:$(ruby -e "print Gem.user_dir")/bin:$PATH"
Run/Stop
-
Enable the enviroment
-
With virtaulenvwrapper (old style)
workon taiga-blog
-
Or with venv (new style)
source .env/bin/activate
-
-
Run dev server
make devserver
-
Stop dev server
make stopserver
-
Deactivate the enviroment
deactivate
Recompile styles
You need sass
and scss-lint
installed
make compile_styles
HOWTOs
og:image
in a blog post
Use a custom Use the meta og_image
. For example:
Title: Join #Hacktoberfest with Taiga!
Date: 2019-10-11 09:00
Category: Announcements
Author: Taiga Team
og_image: {filename}/images/2019-09-11_taiga_hackoctoberfest/hackoctoberfest.jpg
...