init
This commit is contained in:
commit
c828a45aa8
30 changed files with 1204 additions and 0 deletions
71
pelicanconf.py
Normal file
71
pelicanconf.py
Normal file
|
|
@ -0,0 +1,71 @@
|
|||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*- #
|
||||
from __future__ import unicode_literals
|
||||
|
||||
AUTHOR = u'T.F.'
|
||||
SITENAME = u'ZONETOAST'
|
||||
SITE_SUBTITLE = u'A Chronotopology of Unfinished Timelines'
|
||||
# SITEURL = '//sublunar.space'
|
||||
|
||||
THEME = 'blue-penguin-dark'
|
||||
PATH = 'content'
|
||||
|
||||
DEFAULT_DATE = 'fs'
|
||||
|
||||
SUMMARY_MAX_LENGTH = 100
|
||||
|
||||
DEFAULT_DATE_FORMAT = '%d %b %Y'
|
||||
|
||||
TIMEZONE = 'Europe/Berlin'
|
||||
|
||||
DEFAULT_LANG = u'en'
|
||||
|
||||
STATIC_PATHS = ['assets']
|
||||
|
||||
# Feed generation is usually not desired when developing
|
||||
FEED_ALL_ATOM = 'feeds/all.atom.xml'
|
||||
FEED_ALL_RSS = 'feeds/all.rss.xml'
|
||||
CATEGORY_FEED_ATOM = None
|
||||
TRANSLATION_FEED_ATOM = None
|
||||
AUTHOR_FEED_ATOM = None
|
||||
AUTHOR_FEED_RSS = None
|
||||
|
||||
# HTML metadata
|
||||
SITEDESCRIPTION = SITE_SUBTITLE
|
||||
|
||||
# all defaults to True.
|
||||
DISPLAY_HEADER = True
|
||||
DISPLAY_FOOTER = True
|
||||
DISPLAY_HOME = True
|
||||
DISPLAY_MENU = True
|
||||
DISPLAY_PAGES_ON_MENU = True
|
||||
DARK_LIGHT_SWITCHING_OFF = False
|
||||
|
||||
# provided as examples, they make ‘clean’ urls. used by MENU_INTERNAL_PAGES.
|
||||
TAGS_URL = 'tags'
|
||||
TAGS_SAVE_AS = 'tags/index.html'
|
||||
AUTHORS_URL = 'authors'
|
||||
AUTHORS_SAVE_AS = 'authors/index.html'
|
||||
CATEGORIES_URL = 'categories'
|
||||
CATEGORIES_SAVE_AS = 'categories/index.html'
|
||||
ARCHIVES_URL = 'archives'
|
||||
ARCHIVES_SAVE_AS = 'archives/index.html'
|
||||
|
||||
# use those if you want pelican standard pages to appear in your menu
|
||||
MENU_INTERNAL_PAGES = (
|
||||
# ('Tags', TAGS_URL, TAGS_SAVE_AS),
|
||||
# ('Authors', AUTHORS_URL, AUTHORS_SAVE_AS),
|
||||
# ('Categories', CATEGORIES_URL, CATEGORIES_SAVE_AS),
|
||||
# ('Archives', ARCHIVES_URL, ARCHIVES_SAVE_AS),
|
||||
)
|
||||
# additional menu items
|
||||
MENUITEMS = (
|
||||
# ('GitHub', 'https://github.com/'),
|
||||
# ('Linux Kernel', 'https://www.kernel.org/'),
|
||||
)
|
||||
|
||||
# example pagination pattern
|
||||
PAGINATION_PATTERNS = (
|
||||
(1, '{url}', '{save_as}'),
|
||||
(2, '{base_name}/page/{number}/', '{base_name}/page/{number}/index.html'),
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue