Pelican Plugins

CName Plugin 1.2.1 for Pelican Released

CName is a plugin for Pelican, a static site generator written in Python.

CName creates a CNAME file in the root of your output directory. This is useful when you are publishing your site to GitHub Pages on a custom domain.


Writing these posts about the new releases is often a little funny because the changes made are often so small that they don’t really feel worthy of their own post, but collectively, they start adding up. So this post actually covers five releases combined: 1.0.3, 1.0.4, 1.1.0, 1.2.0, 1.2.1.

  • v1.0.3 was updated to include the Framework :: Pelican :: Plugins classifier that had been added to PyPI. Sadly, there hasn’t been much uptake of the classifer: I have 6 of the 7 packages listed. But maybe I should be so surprised: Pelican plugins have traditionally been distributed via a large shared repository rather than via PyPI.
  • v1.0.4 was released to make sure the license file was included in the distribution uploaded to PyPI.
  • v1.1.0 was me reworking the release process to be based on my minchin.releaser. I was already using an earlier version of the scripts, but I find it helpful to have my release process standardized and semi-automated. This in turn is part of the reason there have so many small releases: it’s easy to do. So easy, that these last three releases were all pushed out today!
  • v1.2.0 added support for protocol-less SITEURL settings. I’ve been in the process (for some time now) of moving my site to HTTPS. However, sometimes a site will be available on both HTTP and HTTPS, and so to serve the same files, you can specify links without a protocol using just the double slashes: i.e. SITEURL = "//". Because of this, the main part of my site ( is now available on both HTTP and HTTPS.
  • v1.2.1 limits some of the internal text replacements to try and avoid future bugs.

You should be able to update through pip without any issues

pip install --upgrade minchin.pelican.plugins.cname

The code for this project is available on GitHub. Contributions are welcome!

Other posts

Other posts under Pelican Plugins


There are no comments yet. Will you add the first one?

Add a Comment

You can use the Markdown syntax to format your comment.

or alternately, send me your thoughts at minchinweb [at]

Comment Atom Feed (for this post)