[Cryptech-Commits] [user/sra/pelican] 32/68: Preliminary Pelican config

git at cryptech.is git at cryptech.is
Mon Jul 19 22:25:11 UTC 2021


This is an automated email from the git hooks/post-receive script.

sra at hactrn.net pushed a commit to branch pelican
in repository user/sra/pelican.

commit d5e78504b3eb707008a07b28f886adfabeba5680
Author: Rob Austein <sra at hactrn.net>
AuthorDate: Sun Feb 14 17:02:12 2021 +0000

    Preliminary Pelican config
---
 .gitignore     |  1 +
 extract.py     |  2 +-
 pelicanconf.py | 33 +++++++++++++++++++++++++++++++++
 3 files changed, 35 insertions(+), 1 deletion(-)

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"



More information about the Commits mailing list