CastorisCausa
Files for static site: https://www.castoriscausa.com/
Environment to generate static website
- Create and activate an (conda) environment with Python 3
- 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
-
To build and serve the site, run the script
reserve.sh
-
Open http://localhost:8000/ in the web browser
-
When the website is ready to be uploaded, run the script
prepare_html_repo.sh
, this will copy all the content to..\castoris-html
-
Just commit and push
castoris-html
to https://github.com/rcassani/rcassani.github.io