#!/usr/bin/env python
# -*- coding: utf-8 -*- #
AUTHOR = "Cryptech Core Team"
SITENAME = "Cryptech Project"
PATH = "content"
TIMEZONE = "UTC"
DEFAULT_LANG = "en"
CRYPTECH_DEV_MODE = True
if CRYPTECH_DEV_MODE:
SITEURL = ""
RELATIVE_URLS = True
else:
SITEURL = "https://trac.cryptech.is/pelican/"
RELATIVE_URLS = False
# Feed generation is usually not desired when developing
#FEED_ALL_ATOM = None
#CATEGORY_FEED_ATOM = None
#TRANSLATION_FEED_ATOM = None
#AUTHOR_FEED_ATOM = None
#AUTHOR_FEED_RSS = None
DEFAULT_PAGINATION = 10
THEME = "../m.css/pelican-theme"
THEME_STATIC_DIR = "static"
#DIRECT_TEMPLATES = ["index"]
#DIRECT_TEMPLATES = ["categories", "authors", "archives"]
M_LINKS_NAVBAR1 = [
("Home", "wikistart.html", "wikistart", []),
("Repositories", "https://git.cryptech.is/", "git", []),
("Documents", "documents.html", "documents", []),
("Mailing Lists", "mailinglists.html", "mailinglists", []),
("Archives", "archives.html", "archives", []),
]
M_CSS_FILES = [
("https://fonts.googleapis.com/css"
"?family=Source+Sans+Pro:400,400i,600,600i%7CSource+Code+Pro:400,400i,600"),
("/static/m-dark.css"
if CRYPTECH_DEV_MODE else
"/pelican/static/m-dark.css")
]
M_HIDE_ARTICLE_SUMMARY = True
M_THEME_COLOR = "#22272e"
PLUGIN_PATHS = ["../m.css/plugins"]
PLUGINS = ["m.htmlsanity"]
# Per https://docs.getpelican.com/en/latest/faq.html#how-can-i-use-a-static-page-as-my-home-page
INDEX_SAVE_AS = "pelican-index.html"