Taiga blog (https://blog.taiga.io/) made with Pelican (https://github.com/getpelican/pelican).
-
Create virtualenv:
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):
You need to install ruby package first
gem install sass scss-lint
export PATH="/usr/bin/core_perl:$(ruby -e "print Gem.user_dir")/bin:$PATH"
-
Enable the enviroment
source .env/bin/activate
-
Run dev server
pelican -r
On another terminal run
cd output && python -m http.server 8080
-
Stop dev server
CTRL+C pelican -r terminal
-
Deactivate the enviroment
deactivate
You need sass
and scss-lint
installed
make compile_styles
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
...