Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Pelican plugin that adds a `CNAME` file to the output root. Useful for publishing to Github Pages. Written in Python.

Project description

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

Then, in your file, add CName to your list of plugins:

            # ...
            # ...

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.

Project details

Release history Release notifications

This version
History Node


History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
minchin.pelican.plugins.cname-1.0.4-py3-none-any.whl (5.1 kB) Copy SHA256 hash SHA256 Wheel py3 Apr 10, 2017
minchin.pelican.plugins.cname-1.0.4.tar.gz (2.6 kB) Copy SHA256 hash SHA256 Source None Apr 10, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page