Mercurial > piecrust2
comparison piecrust/__init__.py @ 711:ab5c6a8ae90a
bake: Replace hard-coded taxonomy support with "generator" system.
* Taxonomies are now implemented one or more `TaxonomyGenerator`s.
* A `BlogArchivesGenerator` stub is there but non-functional.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Thu, 26 May 2016 19:52:47 -0700 |
parents | d3a5a086e5cd |
children | f1dd8f2e79e7 |
comparison
equal
deleted
inserted
replaced
710:e85f29b28b84 | 711:ab5c6a8ae90a |
---|---|
1 | 1 |
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 | 7 |
7 CONFIG_PATH = 'config.yml' | 8 CONFIG_PATH = 'config.yml' |
8 THEME_CONFIG_PATH = 'theme_config.yml' | 9 THEME_CONFIG_PATH = 'theme_config.yml' |
9 THEME_INFO_PATH = 'theme_info.yml' | 10 THEME_INFO_PATH = 'theme_info.yml' |
10 ASSET_DIR_SUFFIX = '-assets' | 11 ASSET_DIR_SUFFIX = '-assets' |
15 DEFAULT_DATE_FORMAT = '%b %d, %Y' | 16 DEFAULT_DATE_FORMAT = '%b %d, %Y' |
16 DEFAULT_THEME_SOURCE = 'https://bitbucket.org/ludovicchabant/' | 17 DEFAULT_THEME_SOURCE = 'https://bitbucket.org/ludovicchabant/' |
17 | 18 |
18 PIECRUST_URL = 'https://bolt80.com/piecrust/' | 19 PIECRUST_URL = 'https://bolt80.com/piecrust/' |
19 | 20 |
20 CACHE_VERSION = 23 | 21 CACHE_VERSION = 24 |
21 | 22 |
22 try: | 23 try: |
23 from piecrust.__version__ import APP_VERSION | 24 from piecrust.__version__ import APP_VERSION |
24 except ImportError: | 25 except ImportError: |
25 APP_VERSION = 'unknown' | 26 APP_VERSION = 'unknown' |