Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

kaleidos-ventures/taiga-blog

Repository files navigation

Taiga blog

Taiga blog (https://blog.taiga.io/) made with Pelican (https://github.com/getpelican/pelican).

For developers:

Setup

  • 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"

Run/Stop

  • 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

Recompile styles

You need sass and scss-lint installed

make compile_styles

HOWTOs

Use a custom og:image in a blog post

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
...

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published