summaryrefslogtreecommitdiff
path: root/pelicanconf.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2021-07-24 01:00:09 +0000
committerRob Austein <sra@hactrn.net>2021-07-24 01:01:01 +0000
commit6e916e6715b10627ac34b4439397308e5be2109a (patch)
treeceec03301adeab2a5c114e1a1e271c5d506cafb9 /pelicanconf.py
parent4ce647bd96d624b10a4bd19c4c6104fea601b6a4 (diff)
Clean up more links, convert to m.css theme (no JavaScript!)
Diffstat (limited to 'pelicanconf.py')
-rw-r--r--[l---------]pelicanconf.py49
1 files changed, 48 insertions, 1 deletions
diff --git a/pelicanconf.py b/pelicanconf.py
index 00f205f..c70117a 120000..100644
--- a/pelicanconf.py
+++ b/pelicanconf.py
@@ -1 +1,48 @@
-tools/pelicanconf.py \ No newline at end of file
+#!/usr/bin/env python
+# -*- coding: utf-8 -*- #
+
+AUTHOR = "Cryptech Core Team"
+SITENAME = "Cryptech Project"
+
+PATH = "content"
+TIMEZONE = "UTC"
+DEFAULT_LANG = "en"
+
+SITEURL = ""
+
+RELATIVE_URLS = True
+
+# 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
+
+# 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 = "../m.css/pelican-theme"
+THEME_STATIC_DIR = "static"
+DIRECT_TEMPLATES = ["index"]
+
+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"]
+
+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"