# pdorg_pelican


## Installation

Yeah, yeah, some documentation.

This is written in Pelican, with a couple plugins, and uses a slightly-hacked `pelican-sober` theme.

From scratch:

  - install git and python 3 if they aren't already
  - `pip install "pelican[markdown]"`
  - `pip install pelican-render-math`
  - somewhere else, `git clone https://github.com/fle/pelican-sober.git`
    - in `static/images/icons`, put an akkoma icon
      - first time I did this, I used `curl -o akkoma-18px.png 'https://joinfediverse.wiki/thumb.php?f=Akkoma.svg&width=18'`
    - in `static/css/main.css`, add the line `.social a[href*='tinylad.social'] + i:before {content: url('../images/icons/akkoma-18px.png'); }` in an appropriate spot
  - put the path to that repo in `THEME` in `pelicanconf.py` in this repo

## Running locally

For the [preview](http://localhost:8000), `pelican -r -l`. 


## Deploying