Getting my blog going in Pelican.

in «blog» by Michael Beard
Tags: , ,

I'm trying (again) to get my blog site up and going. It's been awhile since I've tried it.

I started looking at Hugo, but it seems such a pain and I never really got much traction with it. So, after months of it just sitting around doing nothing, I got the bug again and decided that maybe I'd try a different static-site-generator again. I looked and I liked what I saw with Pelican, so here I am.

I'm using the following urls as a guide:

  • Pelican - Full Stack Python - it has a lot of great stuff on it. I'm sure I'll be back here for more information.
  • A Pelican Tutorial: Static, Python-Powered Blog with Search & Comments - this tutorial seemed inline with what I wanted to do, so ...
    • one thing to note, which took me a little bit of time to figure out, you need to install Pelican this way (if you want Markdown files) - pip install "pelican[markdown]", otherwise it will ignore any Markdown files.
    • another things I'm unclear on is whether you have to have the theme you're using actually copied at the root of your website or not. Any time I've changed things, I've had to copy the theme to the root of the website and then do:
      • pelican-themes -i {your_theme_name} followed by
      • pelican -t {your_theme_name}
      • then, it seems to work
    • the search it uses, I couldn't get it to work on the theme I was using. That's probably on me, but I wanted something other than the monospace theme. I can probably get it to work later, but not worth it right now. I just want to get it going.
    • while interesting, the Staticman plugin seems to need to be used on github pages. I don't intend to host my site on there, so ... Again, it might be easy to configure and I'll probably come back to it later, but the intent is to get my website up and going. I'll add bells and whistles later.

This is an ongoing experiment, so I'm sure this will be updated as I go along.