Skip to content

Instantly share code, notes, and snippets.

@almet almet/pelicanconf.py
Created Sep 26, 2016

Embed
What would you like to do?
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHORS = (
u'Brasserie du Vieux Singe',
)
SITENAME = u'Vieux Singe'
SITEURL = 'http://localhost:8000'
PATH = 'content'
TIMEZONE = 'Europe/Paris'
DEFAULT_LANG = u'fr'
DEFAULT_PAGINATION = False
THEME = "theme"
INDEX_SAVE_AS = 'nouvelles.html'
MENUITEMS = (
(u'À propos', '/index.html'),
(u'Nouvelles', '/archives.html'),
)
DISPLAY_PAGES_ON_MENU = False
DISPLAY_CATEGORIES_ON_MENU = False
STATIC_PATHS = ['images', 'documents', 'extra/CNAME', ]
EXTRA_PATH_METADATA = {'extra/CNAME': {'path': 'CNAME'}}
RELATIVE_URLS = True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.