UNPKG

@nzz/q-server

Version:

__Q__ is a system that lets journalists create visual elements for stories. It is developed by [NZZ Storytelling](https://www.nzz.ch/storytelling) and used in the [NZZ](https://www.nzz.ch) newsroom.

14 lines (13 loc) 396 B
<header> <a class="site-title" href="{{ "/" | relative_url }}">{{ site.title | escape }}</a> <nav> {% for link in site.data.navigation.main %} {% if link.url contains "http" %} {% assign url = link.url %} {% else %} {% assign url = link.url | relative_url %} {% endif %} <a href="{{ url }}">{{ link.title }}</a> {% endfor %} </nav> </header>