summaryrefslogblamecommitdiffstats
path: root/blog/_includes/menubar.html
blob: 83768de652e4cf14491217228e5823d72c36bb7c (plain) (tree)
1
2
3
4
5
6
7
8

                        
                                                                         


                                                                                             
                                                    
                                                                                                                      




                                        
<div id="page-menu">
  <nav class="site-nav">
    <a class="page-link" href="{{ site.baseurl | append: "/" }}">Hjem</a>
    <a class="page-link" href="{{ site.baseurl | append: "/registration" }}">Registrering</a>
    {% assign pages_in_lang = site.pages | where_exp: "p","p.lang == page.lang" %}
    {% for page in pages_in_lang %}
      {% if page.title and (!page.hidden == true) %}
        <a class="page-link" href="{{ page.url | prepend: site.baseurl | remove: 'index.html' }}">{{ page.title }}</a>
      {% endif %}
    {% endfor %}
    {% include language-switcher.html %}
  </nav>
</div>