<div class="nav">
    <nav>
      <div class="nav-left">
        {{ $classString := "" }}
        
        
        <a href='{{ "" | absURL }}' class="header-logo">
          <img src='{{ "assets/dd_white.png" | absURL }}' />
        </a>
        <ul class="nav-links">
          {{ if (eq .Permalink (string ("anmeldung/" | absURL))) }}{{ $classString = "class='active'" }}{{else}}{{$classString = ""}}{{ end }}
          <a href='{{ "anmeldung/" | absURL }}'>
            <li {{$classString | safeHTMLAttr}}>Anmeldung</li>
          </a>

          {{ if (eq .Permalink (string ("shop/" | absURL))) }}{{ $classString = "class='active'" }}{{else}}{{$classString = ""}}{{ end }}
          <a href='{{ "shop/" | absURL }}'>
            <li {{$classString | safeHTMLAttr}}>Shop</li>
          </a>

          {{ if (eq .Permalink (string ("location/" | absURL))) }}{{ $classString = "class='active'" }}{{else}}{{$classString = ""}}{{ end }}
          <a href='{{ "location/" | absURL }}'>
            <li {{$classString | safeHTMLAttr}}>Location</li>
          </a>

          {{ if (eq .Permalink (string ("anreise/" | absURL))) }}{{ $classString = "class='active'" }}{{else}}{{$classString = ""}}{{ end }}
          <a href='{{ "anreise/" | absURL }}'>
            <li {{$classString | safeHTMLAttr}}>Anreise</li>
          </a>

          {{ if (eq .Permalink (string ("faq/" | absURL))) }}{{ $classString = "class='active'" }}{{else}}{{$classString = ""}}{{ end }}
          <a href='{{ "faq/" | absURL }}'>
            <li {{$classString | safeHTMLAttr}}>FAQ</li>
          </a>
        </ul>
      </div>
      <div class="nav-right">
        <ul class="nav-links">
          <!-- <a href='{{ "contact" | absURL }}'><li>Kontakt / Anfahrt</li></a> -->
        </ul>
      </div>
    </nav>
  </div>
  {{ partial "sidebar.html" . }}