Ingen beskrivning

john melesky a3dfc167cd ... and belatedly adding the images, too 9 månader sedan
content a3dfc167cd ... and belatedly adding the images, too 9 månader sedan
.gitignore 42ffdb8a27 initial commit, largely pulled from pdorg_site 1 år sedan
Makefile 42ffdb8a27 initial commit, largely pulled from pdorg_site 1 år sedan
README.md 393409d4b3 add deployment instructions now that I know them. 1 år sedan
pelicanconf.py a8b060b2cb update robots.txt and add ai.txt per https://neil-clarke.com/block-the-bots-that-feed-ai-models-by-scraping-your-website/ 1 år sedan
publishconf.py 42ffdb8a27 initial commit, largely pulled from pdorg_site 1 år sedan
tasks.py 42ffdb8a27 initial commit, largely pulled from pdorg_site 1 år sedan

README.md

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
  • pip install markdown-captions
  • somewhere else, git clone git@github.com:jmelesky/pelican-sober.git
  • put the path to that repo in THEME in pelicanconf.py in this repo

Running locally

For the preview, pelican -r -l.

Deploying

Assuming you have the ssh keys set up properly:

  • make publish
  • make rsync_upload