all repos — website @ 805b34faf0bbdaf135e16072b8dd9153a24368ad

My website

Fix overzealous URL encoding

Alan Pearce
commit

805b34faf0bbdaf135e16072b8dd9153a24368ad

parent

fe119b75f2b3f8f3ba8c2367c3ec768538edc695

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 -%}