Pelican - category template
Load a template for any content (article, page) based on its category. For example, for an article, if a template named article-<category>.html exists in the theme or Jinja2 path, it will be used. If not, then the default template is used.
Install
Use pip to install the plugin:
$ pip install pelican-category_template
Usage
To use the plugin, add it to the PLUGINS list in your configuration file. Put it in pelicanconf.py by default:
PLUGINS = [
# ...
'categorytpl'',
]
Test
$ python -m unittest discover
Metadata
Release files for pelican-category_template v0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pelican-category_template-v0.0.2.tar.gz | 3.4 kB | Without provenance | Details |
Release files / pelican-category_template-v0.0.2.tar.gz
| Download URL | pelican-category_template-v0.0.2.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f5196609bcd08307f3fad9cb2a470a4bdf2c48ab1528faec103b5e1aa66adb3c
|
|
BLAKE2b-256 checksum How to use checksums |
b9f0885641370db2cf484e4ae9461536876cb42cc6f9b93e9cb5a3f8d46b6a14
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pelican-category_template v0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.