about summary refs log tree commit diff stats
path: root/templates/nav.html
diff options
context:
space:
mode:
authorAlan Pearce2023-04-18 14:53:30 +0200
committerAlan Pearce2023-04-18 14:53:30 +0200
commitc78a3f2301caa3dc4c03d3b2a75f4f003e5863d0 (patch)
tree988cee910507c521d83080cc36a7c2e1665451ef /templates/nav.html
parent4df500c33f3d3ba7b9387a2bc0447850a04d15c8 (diff)
downloadwebsite-c78a3f2301caa3dc4c03d3b2a75f4f003e5863d0.tar.lz
website-c78a3f2301caa3dc4c03d3b2a75f4f003e5863d0.tar.zst
website-c78a3f2301caa3dc4c03d3b2a75f4f003e5863d0.zip
Reformat templates
Diffstat (limited to 'templates/nav.html')
-rw-r--r--templates/nav.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/templates/nav.html b/templates/nav.html
index b0cf643..4dd0e63 100644
--- a/templates/nav.html
+++ b/templates/nav.html
@@ -1,10 +1,10 @@
 <a href="{{ config.base_url }}">Home</a>
 {%- if config.extra.main_menu %}
-{%- for item in config.extra.main_menu %}
-{%- if item.url is matching("https?://") %}
-<a href="{{ item.url }}">{{ item.name }}</a>
-{%- else %}
-<a href="{{ get_url(path=item.url )}}">{{ item.name }}</a>
-{%- endif %}
-{%- endfor %}
+  {%- for item in config.extra.main_menu %}
+    {%- if item.url is matching("https?://") %}
+      <a href="{{ item.url }}">{{ item.name }}</a>
+    {%- else %}
+      <a href="{{ get_url(path=item.url )}}">{{ item.name }}</a>
+    {%- endif %}
+  {%- endfor %}
 {%- endif %}