First setup of the blog

First article and about page
Flex theme setup with some corrections and using a PR for ToC
This commit is contained in:
trotFunky 2020-05-31 23:01:22 +01:00
commit 8ec9e39f3c
13 changed files with 256 additions and 0 deletions

28
README.md Normal file
View file

@ -0,0 +1,28 @@
# TFK-Blog
This is the sources for my blog.
They are generated using Pelican and based on the Flex theme.
## Prerequisites
Python dependencies :
- pelican[Markdown]
- typogrify
- beautifulsoup4 (Maybe ? Was already pulled for me)
You can install everything by running the following command :
`sudo pip3 install pelican[Markdown] typogrify beautifulsoup4`
## Build
To generate the site, you have to setup the pelican project :
`pelican-quickstart`
Then, check that the `pelicanconf.py` file has not been changed. If it has, replace it.
You can now generate the site by running `make html` and test it on your local machine, port 8000, by running `make serve`.
## Write
You can use the script `new_article.sh` to create a new article, fill its metadata and start editing it righ away. Otherwise, they are under `content/articles`