rcassani / castoriscausa

Source files (Pelican) for the static site www.castoriscausa.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CastorisCausa

Files for static site: https://www.castoriscausa.com/

Environment to generate static website

  1. Create and activate an (conda) environment with Python 3
  2. Using pip install Pelican and some dependencies
  $ pip install pelican markdown typogrify bs4 invoke

đź’ˇ Alternatively, create the environment from the pelican.yml (March 2022)

Pelican configuration

All the details are in pelicanconf.py

Theme

The Pelican theme is pelican-kis
https://github.com/rcassani/pelican-kis

Plugins

  • tipue_search
  • sitemap
  • series
  • render_math

Custom CSS

Custom CSS castoris.css to:

  • Set two columns 9+3 (instead of 8+4)
  • Colors
  • Fonts

Custom JS

Custom JS castoris.js to:

  • Hide email
  • Confirmation button in publications

Publications

Publication format is IEEE

Build and deployment

  1. To build and serve the site, run the script reserve.sh

  2. Open http://localhost:8000/ in the web browser

  3. When the website is ready to be uploaded, run the script prepare_html_repo.sh, this will copy all the content to ..\castoris-html

  4. Just commit and push castoris-html to https://github.com/rcassani/rcassani.github.io

About

Source files (Pelican) for the static site www.castoriscausa.com


Languages

Language:HTML 99.9%Language:Python 0.1%Language:CSS 0.0%Language:Makefile 0.0%Language:Shell 0.0%Language:Jupyter Notebook 0.0%Language:JavaScript 0.0%