samwwwblack's blog https://samwwwblack.lapwing.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

75 lines
1.9 KiB

# -*- coding: utf-8 -*-
import os
from datetime import datetime
AUTHOR = "Sam Black"
SITENAME = "samwwwblack's Blog"
SITEURL = "https://samwwwblack.lapwing.org"
FEED_DOMAIN = SITEURL
ABOUT_ME = """
Will eventually figure out I don't have the time to write all my own software.
"""
openid = "https://openid.lapwing.org"
OPENID = {"openid": openid,
"openid2": openid,
#"delegate": "https://samwwwblack.lapwing.org",
"xrds": openid + "/xrds",
"username": "samwwwblack"}
DEFAULT_LANG = u"en"
TIMEZONE = "Europe/London"
# Blogroll
LINKS = ()
# Social widget
SOCIAL = (("identi.ca", "https://identi.ca/samwwwblack"),
("Code", "https://code.lapwing.org"),)
# ================== DO NOT EDIT BELOW THIS LINE ==============================
CONFIG_FILE_PATH = os.path.dirname(os.path.abspath(__file__))
THEME_PATH = os.path.abspath(os.path.join(CONFIG_FILE_PATH, "theme",
"pelican-uikit3-lapwingorg"))
PLUGIN_PATHS = [os.path.abspath(os.path.join(THEME_PATH, "plugins"))]
PLUGINS = ["related_posts", "html_rst_directive"]
# Override this in publishconf.py
RELATIVE_URLS = True
TYPOGRIFY = True
USE_PAGER = True
FEED_ATOM = "feeds/atom.xml"
FEED_ALL_ATOM = "feeds/all.atom.xml"
CATEGORY_FEED_ATOM = None
TAG_FEED_ATOM = None
FEED_RSS = "feeds/rss.xml"
FEED_ALL_RSS = "feeds/all.rss.xml"
CATEGORY_FEED_RSS = None
TAG_FEED_RSS = None
ARTICLE_URL = "posts/{date:%Y}/{date:%b}/{slug}/"
ARTICLE_SAVE_AS = "posts/{date:%Y}/{date:%b}/{slug}/index.html"
DEFAULT_PAGINATION = 5
THEME = THEME_PATH
PYGMENTS_STYLE = "default"
FAVICON = "favicon.ico"
DISPLAY_PAGES_ON_MENU = True
DISPLAY_CATEGORIES_ON_MENU = False
DISPLAY_TAGS_INLINE = True
DOCUTIL_CSS = True
CC_LICENSE = "CC-BY-SA"
# Set the current year to next year if we create the blog after Christmas
CURRENT_YEAR = datetime.now().year
if datetime.now() > datetime(CURRENT_YEAR, 12, 25):
CURRENT_YEAR += 1