From c78a3f2301caa3dc4c03d3b2a75f4f003e5863d0 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 18 Apr 2023 14:53:30 +0200 Subject: Reformat templates --- templates/nav.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'templates/nav.html') 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 @@ Home {%- if config.extra.main_menu %} -{%- for item in config.extra.main_menu %} -{%- if item.url is matching("https?://") %} -{{ item.name }} -{%- else %} -{{ item.name }} -{%- endif %} -{%- endfor %} + {%- for item in config.extra.main_menu %} + {%- if item.url is matching("https?://") %} + {{ item.name }} + {%- else %} + {{ item.name }} + {%- endif %} + {%- endfor %} {%- endif %} -- cgit 1.4.1