<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
<head>
  {{ partial "head" . }}
  {{ partial "analytics" . }}
</head>
<body>
  <div class="charcoal sans-serif w-90 mw9 center">
    <nav class="montserrat mv4 fw6 flex-wrap ttu tracked sans-serif flex flex-between">
      <a href="{{ .Site.BaseURL }}/" class="w-100 w-auto-l flex items-center pv3 pv0-l mr3 flex-grow-1 flex items-center justify-center justify-start-l no-underline" >
        <img alt="IPFS" src="{{ .Site.BaseURL }}/images/logo.png" class="w3 h3 mr3">
        <h1 class="f3 white">Awesome IPFS</h1>
      </a>

      {{ range (where .Site.Pages "Type" "category") }}
      <a href="{{ .RelPermalink }}"
        class="flex-grow-1 flex items-center justify-center white no-underline pa2 bg-animate dib bg-{{ .Params.color }}-muted hover-bg-{{ .Params.color }}">
        <span class="w2 h2 fill-white mr2">{{ partial (print "icons/" .Params.icon ".svg" ) }}</span>
        {{ .Title }}
      </a>
      {{ end }}
    </nav>

    {{ template "main" . }}

    <footer class="mv4 montserrat ttu tc snow tracked b">
      <a target="_blank" href="https://github.com/ipfs/awesome-ipfs" class="snow no-underline">GitHub</a> | 
      <a target="_blank" href="https://github.com/ipfs/awesome-ipfs/blob/master/CONTRIBUTING.md" class="snow no-underline"> Suggest a new item</a> |
      <a target="_blank" href="https://discuss.ipfs.io/c/ecosystem" class="snow no-underline">Discuss</a>
    </footer>
  </div>
  <script src='{{ .Site.BaseURL }}/app.js'></script>
</body>
</html>