]> git.0d.be Git - django-panik-combo.git/blob - panikombo/misc.py
add introduction to fullwidth page placeholders
[django-panik-combo.git] / panikombo / misc.py
1 # coding: utf-8
2 import collections
3
4 COMBO_PUBLIC_TEMPLATES = collections.OrderedDict({
5     'standard': {
6         'name': 'Page normale',
7         'template': 'combo/page_template_sidebar.html',
8         'placeholders': collections.OrderedDict({
9             'introduction': {
10                 'name': 'Introduction',
11                 'optional': True,
12             },
13             'content': {
14                 'name': 'Contenu',
15             },
16             'sidebar': {
17                 'name': 'Barre latérale',
18             },
19         })
20     },
21     'fullwidth': {
22         'name': 'Page prenant toute la largeur',
23         'template': 'combo/page_template_full_width.html',
24         'placeholders': {
25             'content': {
26                 'name': 'Contenu',
27             },
28         }
29     },
30     'standard-about': {
31         'name': 'Section « À propos »',
32         'template': 'combo/page_template_about.html',
33         'placeholders': {
34             'content': {
35                 'name': 'Contenu',
36             },
37         }
38     },
39 })