skip to navigation
skip to content

minchin.pelican.plugins.cname 1.0.4

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

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.

Installation

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:

PLUGINS = [
            # ...
            'minchin.pelican.plugins.cname',
            # ...
          ]

And that’s it! No further configuration is needed.

Usage

No configuration is needed. The value places in the CNAME files is based on your SITEURL setting.

Credits

Based on the original code by Dmitriy Kalinin.

 
File Type Py Version Uploaded on Size
minchin.pelican.plugins.cname-1.0.4-py3-none-any.whl (md5) Python Wheel py3 2017-04-10 4KB
minchin.pelican.plugins.cname-1.0.4.tar.gz (md5) Source 2017-04-10 2KB