[Cryptech-Commits] [wiki] 71/75: Configure navbar

git at cryptech.is git at cryptech.is
Fri Oct 8 18:52:37 UTC 2021


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

sra at hactrn.net pushed a commit to branch production
in repository wiki.

commit 7023f735e33d649cff18ba00b9f555487aca35f7
Author: Rob Austein <sra at hactrn.net>
AuthorDate: Sun Jul 25 18:40:09 2021 +0000

    Configure navbar
---
 pelicanconf.py | 21 +++++++++++----------
 1 file 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"]
 



More information about the Commits mailing list