all repos — homestead @ 1e6e592bbfc3c01ac6039742357bd07ae9da93dc

Code for my website

Reformat templates

Alan Pearce
commit

1e6e592bbfc3c01ac6039742357bd07ae9da93dc

parent

62ad7b3e4f096bc9dfb574f3adf3372a5c8f110f

1 file changed, 7 insertions(+), 7 deletions(-)

changed files
M templates/nav.htmltemplates/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 %}