Нема описа

john melesky a3dfc167cd ... and belatedly adding the images, too пре 9 месеци
content a3dfc167cd ... and belatedly adding the images, too пре 9 месеци
.gitignore 42ffdb8a27 initial commit, largely pulled from pdorg_site пре 1 година
Makefile 42ffdb8a27 initial commit, largely pulled from pdorg_site пре 1 година
README.md 393409d4b3 add deployment instructions now that I know them. пре 1 година
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 година
publishconf.py 42ffdb8a27 initial commit, largely pulled from pdorg_site пре 1 година
tasks.py 42ffdb8a27 initial commit, largely pulled from pdorg_site пре 1 година

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