From d5e78504b3eb707008a07b28f886adfabeba5680 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Sun, 14 Feb 2021 17:02:12 +0000 Subject: Preliminary Pelican config --- .gitignore | 1 + extract.py | 2 +- pelicanconf.py | 33 +++++++++++++++++++++++++++++++++ 3 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 pelicanconf.py diff --git a/.gitignore b/.gitignore index 02eff3e..38cf45b 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ TAGS __pycache__ attachments trac.db +pelican/pelicanconf.py diff --git a/extract.py b/extract.py index 7f76fe9..9f53f38 100755 --- a/extract.py +++ b/extract.py @@ -79,7 +79,7 @@ def main(): for dn in ("wiki", "pelican/content/images", "pelican/content/pages"): os.makedirs(dn) - #os.link("pelican.conf", "pelican/pelican.conf") + os.link("pelicanconf.py", "pelican/pelicanconf.py") keep = Filter() diff --git a/pelicanconf.py b/pelicanconf.py new file mode 100644 index 0000000..41ac132 --- /dev/null +++ b/pelicanconf.py @@ -0,0 +1,33 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- # + +AUTHOR = "Cryptech Core Team" +SITENAME = "Cryptech Project" + +PATH = "content" +TIMEZONE = "UTC" +DEFAULT_LANG = u"English" + +# Feed generation is usually not desired when developing +SITEURL = "" +RELATIVE_URLS = True +FEED_ALL_ATOM = None +CATEGORY_FEED_ATOM = None +TRANSLATION_FEED_ATOM = None +AUTHOR_FEED_ATOM = None +AUTHOR_FEED_RSS = None + +# Blogroll +LINKS = (("Pelican", "http://getpelican.com/"), + ("Python.org", "http://python.org/"), + ("Jinja2", "http://jinja.pocoo.org/")) +LINKS_WIDGET_NAME = "Links" + +# Social widget. Can't get rid of this with default theme, only change its name. +# Fiddle with themes later +SOCIAL = () +SOCIAL_WIDGET_NAME = "Subscribe" + +DEFAULT_PAGINATION = 10 + +#THEME = "/home/blog/pelican-themes/sundown" -- cgit v1.2.3