aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2022-11-09 18:59:41 +0300
committerValentin Popov <valentin@popov.link>2022-11-09 18:59:41 +0300
commit83a45bcc1986c9ea1a9d8626c7d199b1f90964fa (patch)
treee7f85e788fc5dbe5c091a2780cf63115e77d90c2 /templates
parent4bcbc98d22eebaa667223855f086e27e88c619ca (diff)
downloadpopov.link-83a45bcc1986c9ea1a9d8626c7d199b1f90964fa.tar.xz
popov.link-83a45bcc1986c9ea1a9d8626c7d199b1f90964fa.zip
Moved navigation links to the config
Signed-off-by: Valentin Popov <valentin@popov.link>
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/base.html b/templates/base.html
index 4f3f436..efdf072 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -21,8 +21,10 @@
<body>
<header>
<nav>
- <a href="/">Home</a>
- <a href="/blog">Blog</a>
+ {% for link in config.extra.navbar %}
+ <a href="{{ link.path | safe }}"> {{ link.title | safe }}</a>
+ {% endfor %}
+
<span>
<span>|</span>
<a href="{{ get_url(path='atom.xml', trailing_slash=false) | safe }}">RSS</a>