Commit c9463273 authored by Carl Schwan's avatar Carl Schwan 🚴
Browse files

Add new api for blank urls

parent e5f53079
......@@ -72,6 +72,7 @@ Following options are available in `_config.yml`
* `navigation`: Navigation menu settings
* `navigation.top[].title`: Title for the top navigation menu item
* `navigation.top[].url`: URL for the top navigation menu item
* `navigation.top[].blank`: URL open a new tab if set
* `navigation.top[].components[].title`: Title for the Component
* `navigation.top[].components[].url`: URL for the Component
* `navigation.top[].components[].background`: Background Image URL for the Component
......
......@@ -16,6 +16,7 @@
{% unless site.hide-title-nav %}
<li class="nav-item">
<a class="nav-link {% if page.url == '/' %}active{% endif %}"
{% if page.blank %}target="_blank"{% endif %}
href="{{ '/' | relative_url }}" aria-haspopup="true"
aria-expanded="false">
{{ site.title }}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment