From 7023f735e33d649cff18ba00b9f555487aca35f7 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Sun, 25 Jul 2021 18:40:09 +0000 Subject: 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"] -- cgit v1.2.3