Closes #216: strip whitespace from translated links in nav
This commit is contained in:
parent
ee4c79b7dc
commit
7bddebeff1
1 changed files with 3 additions and 3 deletions
|
@ -183,18 +183,18 @@
|
||||||
|
|
||||||
{% if MAIN_MENU %}
|
{% if MAIN_MENU %}
|
||||||
<nav>
|
<nav>
|
||||||
<a href="{{ SITEURL }}">{{ _('Home') }}</a>
|
<a href="{{ SITEURL }}">{{ _('Home').strip() }}</a>
|
||||||
|
|
||||||
{% for title, link in MENUITEMS %}
|
{% for title, link in MENUITEMS %}
|
||||||
<a href="{{ link }}">{{ title }}</a>
|
<a href="{{ link }}">{{ title }}</a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
{% if FEED_ALL_ATOM %}
|
{% if FEED_ALL_ATOM %}
|
||||||
<a href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}">{{ _('Atom') }}</a>
|
<a href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}">{{ _('Atom').strip() }}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if FEED_ALL_RSS %}
|
{% if FEED_ALL_RSS %}
|
||||||
<a href="{{ FEED_DOMAIN }}/{{ FEED_ALL_RSS }}">{{ _('RSS') }}</a>
|
<a href="{{ FEED_DOMAIN }}/{{ FEED_ALL_RSS }}">{{ _('RSS').strip() }}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</nav>
|
</nav>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue