#!/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'), ) # The capsule: the same content over Gemini, Spartan and WAP. smolnet lives in # the sites repo because it is not specific to any one site; the Nix builder # copies it into plugins/, and the relative path is for working locally with # the repos checked out side by side. PLUGIN_PATHS = ['plugins', '../sites/plugins'] PLUGINS = ['smolnet'] # Filed by tag, not category, so there is nothing to index by section and the # plugin drops that block rather than offering a single bucket called misc. SMOLNET_LATEST = 20 # `era` rather than the category: everything here is Pelican's default `misc`, # while era is what the site is actually organised around. SMOLNET_META = ['date', 'era']