{{ partial "header.html" . }}

<div class="page-wrapper">
  {{ partial "sidebar.html" . }}
  <div class="content-wrapper">
    <div class="sidebar-toggle" onclick="toggle_sidebar('sidebar-open');return false;"><a href="#">&#59675;</a></div>

    <div class="article">
      <article class="article--content">
        <h1>{{ .Title }}</h1>
        <ul class="list-links">

          {{ $currentVersion := (index (findRE "[^/]+.*?" .RelPermalink) 0) .RelPermalink }}
          {{ $tagSet := print $currentVersion "/tags" }}
          {{ range $key, $value := index .Site.Taxonomies $tagSet }}
          	<li><a href="{{ $key | urlize  }}">{{ $key }}</a> ({{ len $value }})</li>
          {{ end }}

        </ul>
      </article>
    </div>

    <div class="copyright">© {{ now.Year }} InfluxData, Inc.</div>
  </div>
</div>

{{ partial "footer.html" . }}
