aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2021-02-14 17:02:12 +0000
committerRob Austein <sra@hactrn.net>2021-02-14 17:02:12 +0000
commitd5e78504b3eb707008a07b28f886adfabeba5680 (patch)
tree18cdbd1118f6c4c1fccc2f0de50a33111a46c5ab
parent68e18ad1f44e9a6fab66adc38e97d027a58de8a4 (diff)
Preliminary Pelican config
-rw-r--r--.gitignore1
-rwxr-xr-xextract.py2
-rw-r--r--pelicanconf.py33
3 files changed, 35 insertions, 1 deletions
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"