|
|
2 роки тому | |
|---|---|---|
| content | 2 роки тому | |
| .gitignore | 2 роки тому | |
| Makefile | 2 роки тому | |
| README.md | 2 роки тому | |
| pelicanconf.py | 2 роки тому | |
| publishconf.py | 2 роки тому | |
| tasks.py | 2 роки тому |
Yeah, yeah, some documentation.
This is written in Pelican, with a couple plugins, and uses a slightly-hacked pelican-sober theme.
From scratch:
pip install "pelican[markdown]"pip install pelican-render-mathgit clone https://github.com/fle/pelican-sober.git
static/images/icons, put an akkoma icon
curl -o akkoma-18px.png 'https://joinfediverse.wiki/thumb.php?f=Akkoma.svg&width=18'static/css/main.css, add the line .social a[href*='tinylad.social'] + i:before {content: url('../images/icons/akkoma-18px.png'); } in an appropriate spotTHEME in pelicanconf.py in this repoFor the preview, pelican -r -l.