A TiddlyWeb plugin with tools and packaging for templates.
Project description
TiddlyWeb tool establishing package based hosting of Jinja2 templates in the tiddlywebplugins package space.
The templates are overridable with local templates in the TiddlyWeb instance.
The tool provides a get_template method which takes a template name or path. First the tiddlyweb.config[‘plugin_local_templates’] directory (defaulting to ‘templates’) is searched. Then the tiddlywebplugins.templates package space is searched (looking for the template as a pkg_resource).
This searching may not work for all packaging systems. This has been tested with pip.
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
File details
Details for the file tiddlywebplugins.templates-0.9.7.tar.gz
.
File metadata
- Download URL: tiddlywebplugins.templates-0.9.7.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e4ed20306162c272118b968dd05a135b73c08f5174685a00c005d2bd8d30cf3 |
|
MD5 | 44400adb9192448d912ecd14f5ff45fe |
|
BLAKE2b-256 | feb6b88a3a75dc3706c661c8c33ee685313b3e070f4d3f4d2cf803c5922d8c9b |