diff options
Diffstat (limited to 'themes/bear/templates/nav.html')
-rw-r--r-- | themes/bear/templates/nav.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/themes/bear/templates/nav.html b/themes/bear/templates/nav.html index e006ab1..cf0d9b7 100644 --- a/themes/bear/templates/nav.html +++ b/themes/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 -%} |