all repos — homestead @ 43da83451fdb44263e9fde61100f379734dc9421

Code for my website

Fix overzealous URL encoding

Alan Pearce
commit

43da83451fdb44263e9fde61100f379734dc9421

parent

c884191fccb65b6416fb26ac83d11a2bc383002b

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

changed files
M themes/bear/templates/nav.htmlthemes/bear/templates/nav.html
@@ -1,10 +1,10 @@
-<a href="{{ config.base_url }}">Home</a> +<a href="{{ config.base_url | safe }}">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> + <a href="{{ item.url | safe }}">{{ item.name }}</a> {%- else %} - <a href="{{ get_url(path=item.url )}}">{{ item.name }}</a> + <a href="{{ get_url(path=item.url) }}">{{ item.name }}</a> {%- endif %} {%- endfor %} {%- endif -%}