Remove empty target for link in menu

remotes/angel/1.11.x
Angel Fernando Quiroz Campos 8 years ago committed by GitHub
parent 4a716a1acb
commit 0318a28b79
  1. 3
      main/template/default/layout/menu.tpl

@ -16,7 +16,8 @@
<ul class="nav navbar-nav">
{% for item in menu %}
<li class="{{ item.key }} {{ item.current }}">
<a href="{{ item.url }}" target="{{ item.target }}" title="{{ item.title }}">{{ item.title }}
<a href="{{ item.url }}" {{ item.target ? 'target="' ~ item.target ~ '"' : '' }} title="{{ item.title }}">
{{ item.title }}
</a>
</li>
{% endfor %}

Loading…
Cancel
Save