CName is a plugin for Pelican, a static site generator written in Python.
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
Then, in your
pelicanconf.py file, add CName to your list of
PLUGINS = [ # ... 'minchin.pelican.plugins.cname', # ... ]
And that's it! No further configuration is needed.
No configuration is needed. The value places in the CNAME files is based
As the plugin makes use of the
SITEURL plugin, if you are using both
pelicanconf.py and a
publishconf.py settings file, CName will
likely generate different results for when you are testing your site locally
and when you push it to production.
The code for this project is available on GitHub. Contributions are welcome!