Mercurial > piecrust2
comparison piecrust/__init__.py @ 848:7d83b9484b98
plugins: Add support for "ad-hoc" local plugins.
These are loose `.py` files inside of the `plugins` folder of a website.
They're loaded along with other normal (packaged) plugins.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Thu, 27 Apr 2017 20:54:29 -0700 |
parents | 58ebf50235a5 |
children | 4850f8c21b6e |
comparison
equal
deleted
inserted
replaced
847:71c4f43d8fc1 | 848:7d83b9484b98 |
---|---|
2 CACHE_DIR = '_cache' | 2 CACHE_DIR = '_cache' |
3 ASSETS_DIR = 'assets' | 3 ASSETS_DIR = 'assets' |
4 TEMPLATES_DIR = 'templates' | 4 TEMPLATES_DIR = 'templates' |
5 THEME_DIR = 'theme' | 5 THEME_DIR = 'theme' |
6 THEMES_DIR = 'themes' | 6 THEMES_DIR = 'themes' |
7 PLUGINS_DIR = 'plugins' | |
7 | 8 |
8 CONFIG_PATH = 'config.yml' | 9 CONFIG_PATH = 'config.yml' |
9 THEME_CONFIG_PATH = 'theme_config.yml' | 10 THEME_CONFIG_PATH = 'theme_config.yml' |
10 THEME_INFO_PATH = 'theme_info.yml' | 11 THEME_INFO_PATH = 'theme_info.yml' |
11 ASSET_DIR_SUFFIX = '-assets' | 12 ASSET_DIR_SUFFIX = '-assets' |