Skip to main content

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.

PyPI version number Changelog Supported Python version License Download Count

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

If you are using Pelican >= 4.5, the plugin will be automatically activated! 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.

Project details


Download files

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

Source Distribution

minchin_pelican_plugins_cname-1.4.0.tar.gz (16.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

minchin_pelican_plugins_cname-1.4.0-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

Details for the file minchin_pelican_plugins_cname-1.4.0.tar.gz.

File metadata

File hashes

Hashes for minchin_pelican_plugins_cname-1.4.0.tar.gz
Algorithm Hash digest
SHA256 fbedc4f007df3dc2abef5e1b214e5dcf8c562c5bd3aacc067d70253c38d80f09
MD5 723066df91a506bd912b636c856308a9
BLAKE2b-256 e9cb8aed3f0379413378efda7ffdf821eb38790a4556ac39b3ef6cf593ec727f

See more details on using hashes here.

File details

Details for the file minchin_pelican_plugins_cname-1.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for minchin_pelican_plugins_cname-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 96616db8552d23758ae40f73c437c5358cbdca8573c2b0893fa8b845436d1179
MD5 b2d8076748134f043e451a6989a8d181
BLAKE2b-256 edf89f32c447cb83720d08d2506f850f4d439bda4ee9953b053d2fcc3251c277

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page