summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2021-07-25 18:40:09 +0000
committerRob Austein <sra@hactrn.net>2021-07-25 18:40:09 +0000
commit7023f735e33d649cff18ba00b9f555487aca35f7 (patch)
tree75279ab8a81a4ed605355125ec43d92d2133a69e
parent21ea76204ce3cc1869257fc8f1585c78d5c4d088 (diff)
Configure navbar
-rw-r--r--pelicanconf.py21
1 files changed, 11 insertions, 10 deletions
diff --git a/pelicanconf.py b/pelicanconf.py
index c70117a..e968ae3 100644
--- a/pelicanconf.py
+++ b/pelicanconf.py
@@ -19,20 +19,21 @@ RELATIVE_URLS = True
#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"]
+
+#DIRECT_TEMPLATES = ["index"]
+#DIRECT_TEMPLATES = ["categories", "authors", "archives"]
+
+M_LINKS_NAVBAR1 = [
+ ("Home", "wikistart.html", "wikistart", []),
+ ("Repositories", "https://git.cryptech.is/", "git", []),
+ ("Documents", "documents.html", "documents", []),
+ ("Mailing Lists", "mailinglists.html", "mailinglists", []),
+ ("Archives", "archives.html", "archives", []),
+]
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"]