diff options
author | Valentin Popov <valentin@popov.link> | 2022-11-09 18:59:41 +0300 |
---|---|---|
committer | Valentin Popov <valentin@popov.link> | 2022-11-09 18:59:41 +0300 |
commit | 83a45bcc1986c9ea1a9d8626c7d199b1f90964fa (patch) | |
tree | e7f85e788fc5dbe5c091a2780cf63115e77d90c2 /templates | |
parent | 4bcbc98d22eebaa667223855f086e27e88c619ca (diff) | |
download | popov.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.html | 6 |
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> |