diff --git a/templates/blocks/navigation.html b/templates/blocks/navigation.html index 08c1500..194a72d 100644 --- a/templates/blocks/navigation.html +++ b/templates/blocks/navigation.html @@ -6,9 +6,12 @@ {% if not mapping.list_childs %}
  • + {% if this._path == mapping.href %} class="active" {% endif %} + {% if mapping.external | default(false) %} + href="{{ mapping.href }}" target="_blank" rel="noopener noreferrer" + {% else %} + href="{{ mapping.href | url }}" + {% endif %}> {{- title -}} {% else %}