kevin-deldycke-blog icon indicating copy to clipboard operation
kevin-deldycke-blog copied to clipboard

:notebook: My blog, based on Pelican.

Kevin Deldycke's blog

Source and content to generate my static blog, which is powered by Pelican (engine) and Plumage (theme).

Installation

Fetch a copy of the repository:

$ git clone --recursive https://github.com/kdeldycke/kevin-deldycke-blog.git blog
$ cd ./blog

To fetch and/or reset submodules to their committed reference:

$ git submodule update --init --recursive

Install Python 3.9 and upgrade all its utilities:

$ brew install python
$ python --version
Python 3.9.0
$ python -m pip install --upgrade pip
$ python -m pip install --upgrade poetry

Install this blog's dependencies:

$ poetry install

Development

Update to latest submodules:

$ git submodule init
$ git submodule update --remote --merge

In one terminal, run:

$ poetry run pelican --verbose --debug ./content

And in another:

$ poetry run pelican --verbose --listen
(...)
Serving site at: 127.0.0.1:8000 - Tap CTRL-C to stop

Then go to http://localhost:8000.

TODO

Content

  • Get rid of /year/month/ for articles ? Or get rid of month only ?
  • Reuse edit link logic from https://github.com/pmclanahan/pelican-edit-url ?

Theme

  • Re-use previous artworks from Maomium ?
  • Auto-enhance created thumbnails ? See: https://news.ycombinator.com/item?id=5999201

License

The content of this repository is copyrighted (c) 2004-2020 Kevin Deldycke.

Unless contrary mention, the content of this repository is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) license.