pelicanconf.py (1168B)
1 #!/usr/bin/env python 2 # -*- coding: utf-8 -*- # 3 from datetime import datetime 4 CUTOFF = datetime.fromisoformat('2026-02-26T00:00:00Z') 5 AUTHOR = 'Louis Holbrook' 6 SITENAME = 'man bytes gnu' 7 SITEURL = '' 8 9 PATH = 'content' 10 11 TIMEZONE = 'Europe/Lisbon' 12 13 DEFAULT_LANG = 'en' 14 15 # Feed generation is usually not desired when developing 16 FEED_ALL_ATOM = "feeds/all.atom.xml" 17 CATEGORY_FEED_ATOM = None 18 TRANSLATION_FEED_ATOM = None 19 AUTHOR_FEED_ATOM = None 20 AUTHOR_FEED_RSS = None 21 22 # Blogroll 23 #LINKS = (('Pelican', 'https://getpelican.com/'), 24 # ('Python.org', 'https://www.python.org/'), 25 # ('Jinja2', 'https://palletsprojects.com/p/jinja/'), 26 # ('You can modify those links in your config file', '#'),) 27 28 # Social widget 29 #SOCIAL = (('You can add links in your config file', '#'), 30 # ('Another social link', '#'),) 31 32 DEFAULT_PAGINATION = 10 33 34 # Uncomment following line if you want document-relative URLs when developing 35 RELATIVE_URLS = True 36 37 DISPLAY_CATEGORIES_ON_MENU = True 38 39 MENUITEMS = [('tags', '/tags.html')] 40 41 STATIC_PATHS = ['images', 'misc'] 42 43 PLUGINS = [ 44 'pelican.plugins.neighbors', 45 'sign', 46 ] 47 PLUGIN_SIGN_GPGKEY = 'd1d0e001'