NTI Nikola Chameleon
Project description
nti.nikola_chameleon
An extremely flexible template system for the Nikola static blog system using Chameleon, z3c.pt and z3c.macro
A basic template using this system is available in base-chameleon, and an extension of that using bootstrap3 is available in bootstrap3-chameleon.
Documentation is hosted at https://ntinikola_chameleon.readthedocs.io/
Installation
Nikola uses a custom mechanism to find plugins instead of using the usual pkg_resources system. That makes it incredibly difficult to install plugins; it’s not enough just to pip install a package from PyPI. Instead, you must also copy a .plugin file to a particular location on disk. This can be:
~/.nikola/plugins/
The plugins directory of your Nikola site.
Beside that ‘.plugin’ file there must also be a ‘.py’ file of the same name that the plugin lists as a module (yes, even though the plugin file specifically requests a Python module, yapsy requires that it be a file or directory beside the plugin file—so not really a module).
It’s ridiculous to require everyone to copy plugins into their plugin folder (they’re not even correctly on sys.path, meaning that zope.configuration and many other tools won’t work) and we don’t plan to let Nikola do that automatically (we’re not on the Nikola plugin index and won’t be until they let us do standard installs), so the best we can do is attempt to workaround yapsy’s limitations.
Into your site’s plugin directory, place the following .py file:
# nti_nikola_chameleon.py from nti.nikola_chameleon import *
Beside that, you’ll need a nti.nikola_chameleon.plugin file:
# -*- mode: conf; -*- [Core] Name = nti.nikola_chameleon Module = nti_nikola_chameleon [Documentation] Author = NextThought Version = 1.0 Website = https://github.com/NextThought/nti.nikola_chameleon Description = Support for Chameleon ZPT templates. [Nikola] PluginCategory = Template
Changes
0.0.1a1 (2017-10-09)
Preliminary PyPI release. While this package is functional, it is not yet documented sufficiently to be of general use. It is also not expected to be fully stable.
Project details
Release history Release notifications | RSS feed
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
Hashes for nti.nikola_chameleon-0.0.1a1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b28a10beaedb07ea2c8af158e0cc2918496979257d348d70a57aa6331e4419c9 |
|
MD5 | 14f6f653dfbc942bb64098000591047d |
|
BLAKE2b-256 | e4f3e6c364c0edce4bb576b1c5bbf19969c5b1ea76995d12c4aab482d6c75eeb |
Hashes for nti.nikola_chameleon-0.0.1a1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd209442173163a2525a6c8d6ac7e794d1a8dfe63c26d7613c5396879af3aa5f |
|
MD5 | 1af42576cdc0322eb25b9a14e2ef0b33 |
|
BLAKE2b-256 | 2c0b4967751804925703359ed90c13fbffb0f71d81eaaf429aa1392338671f58 |