Skip to main content

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.

For more information on TiddlyWeb see http://tiddlyweb.com

This code is licensed under the same terms as TiddlyWeb itself.

Copyright 2009 Chris Dent.

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

tiddlywebplugins.templates-0.9.1.tar.gz (2.8 kB view details)

Uploaded Source

File details

Details for the file tiddlywebplugins.templates-0.9.1.tar.gz.

File metadata

File hashes

Hashes for tiddlywebplugins.templates-0.9.1.tar.gz
Algorithm Hash digest
SHA256 61755b42e26405fba9ed20695dbbf3b2b321a661dba3b8b4ec1e61a81becc147
MD5 15161ba84da2e8f6b8584860c2c7ed0e
BLAKE2b-256 93f755e03f246cf22c1818e6d7e3a6c1a8d5a7a76451ab70c9b175a882216899

See more details on using hashes here.

Provenance

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