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.
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
Built Distribution
File details
Details for the file minchin.pelican.plugins.cname-1.3.4.tar.gz
.
File metadata
- Download URL: minchin.pelican.plugins.cname-1.3.4.tar.gz
- Upload date:
- Size: 16.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af5a64877476c7ea49ee3cb1b1f5537e317615231504611f9ae801460502088d |
|
MD5 | f174307636fe9a99762d06b887d6da26 |
|
BLAKE2b-256 | 88d0de68e99eaaa7001374731d1c72104622cfccef2ed2f6f65b332834e13705 |
File details
Details for the file minchin.pelican.plugins.cname-1.3.4-py3-none-any.whl
.
File metadata
- Download URL: minchin.pelican.plugins.cname-1.3.4-py3-none-any.whl
- Upload date:
- Size: 16.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d00188aea014287d6a565dabfc2ac86dbb7afbf2e2bdcd2e09944348da05c59 |
|
MD5 | e8b55bf250b18d7d729f31f01dd63641 |
|
BLAKE2b-256 | 3d59138b506bc9e06e1a7b51b31b0243509806346c0fee77d606e2d8fed46b69 |