Nessuna descrizione

john melesky 42ffdb8a27 initial commit, largely pulled from pdorg_site 1 anno fa
content 42ffdb8a27 initial commit, largely pulled from pdorg_site 1 anno fa
.gitignore 42ffdb8a27 initial commit, largely pulled from pdorg_site 1 anno fa
Makefile 42ffdb8a27 initial commit, largely pulled from pdorg_site 1 anno fa
README.md 42ffdb8a27 initial commit, largely pulled from pdorg_site 1 anno fa
pelicanconf.py 42ffdb8a27 initial commit, largely pulled from pdorg_site 1 anno fa
publishconf.py 42ffdb8a27 initial commit, largely pulled from pdorg_site 1 anno fa
tasks.py 42ffdb8a27 initial commit, largely pulled from pdorg_site 1 anno fa

README.md

pdorg_site

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, pelican -r -l.

Deploying