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.
The easiest way to install CName
is through the use of pip. This will also
install the required dependencies automatically.
pip install minchin.pelican.plugins.cname
If you are using Pelican >= 4.5, the plugin will be automatically activated! And that's it! No further configuration is needed.
No configuration is needed. The value places in the CNAME files is based on
your SITEURL
setting.
Based on the original code by Dmitriy Kalinin.