Skip to content
Drew Hynes edited this page Nov 29, 2022 · 5 revisions

Welcome to the dword4.github.io wiki!

Installing Pelican (again and again and again)

always use pip install pelican[markdown] otherwise it never works right lol

Update or Add New Content (because I can never remember this stuff)

generate content after editing markdown or config

$ pelican content/ -o output/ -s pelicanconf.py

commit the files/changes

$ git add content/post/latest.md && git commit -am "some commit messsage"

push commits to main/master

$ git push

use ghp-import to pull to gh-pages branch

$ ghp-import output/ -b gh-pages

switch to branch gh-pages

$ git checkout gh-pages

push local changes performed by ghp-import

$ git push

installing a pelican theme

pelican-theme i path/to/theme