diff 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
line wrap: on
line diff
--- a/piecrust/__init__.py	Thu Apr 27 20:53:18 2017 -0700
+++ b/piecrust/__init__.py	Thu Apr 27 20:54:29 2017 -0700
@@ -4,6 +4,7 @@
 TEMPLATES_DIR = 'templates'
 THEME_DIR = 'theme'
 THEMES_DIR = 'themes'
+PLUGINS_DIR = 'plugins'
 
 CONFIG_PATH = 'config.yml'
 THEME_CONFIG_PATH = 'theme_config.yml'