diff options
author | Rob Austein <sra@hactrn.net> | 2021-02-14 17:02:12 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2021-02-14 17:02:12 +0000 |
commit | d5e78504b3eb707008a07b28f886adfabeba5680 (patch) | |
tree | 18cdbd1118f6c4c1fccc2f0de50a33111a46c5ab | |
parent | 68e18ad1f44e9a6fab66adc38e97d027a58de8a4 (diff) |
Preliminary Pelican config
-rw-r--r-- | .gitignore | 1 | ||||
-rwxr-xr-x | extract.py | 2 | ||||
-rw-r--r-- | pelicanconf.py | 33 |
3 files changed, 35 insertions, 1 deletions
@@ -4,3 +4,4 @@ TAGS __pycache__ attachments trac.db +pelican/pelicanconf.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" |