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.3.4.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file minchin.pelican.plugins.cname-1.3.4.tar.gz.

File metadata

File hashes

Hashes for minchin.pelican.plugins.cname-1.3.4.tar.gz
Algorithm Hash digest
SHA256 af5a64877476c7ea49ee3cb1b1f5537e317615231504611f9ae801460502088d
MD5 f174307636fe9a99762d06b887d6da26
BLAKE2b-256 88d0de68e99eaaa7001374731d1c72104622cfccef2ed2f6f65b332834e13705

See more details on using hashes here.

File details

Details for the file minchin.pelican.plugins.cname-1.3.4-py3-none-any.whl.

File metadata

File hashes

Hashes for minchin.pelican.plugins.cname-1.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8d00188aea014287d6a565dabfc2ac86dbb7afbf2e2bdcd2e09944348da05c59
MD5 e8b55bf250b18d7d729f31f01dd63641
BLAKE2b-256 3d59138b506bc9e06e1a7b51b31b0243509806346c0fee77d606e2d8fed46b69

See more details on using hashes here.

Supported by

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