{{ define "main" }}
<div class="longform-layout">
  <nav class="toc-nav" id="toc-nav">
    <h3>Contents</h3>
    <ul id="toc-list"></ul>
  </nav>
  <article class="longform-content" id="longform-content">
    <h1>{{ .Title }}</h1>
    {{ range .Site.Data.tools_sections.sections }}
      <section id="{{ .id }}" data-toc-title="{{ .title }}" data-toc-group="{{ .group }}">
        {{ with $.Site.GetPage .page }}
          {{ .Content }}
        {{ end }}
      </section>
    {{ end }}
  </article>
</div>
<script src="/js/toc.js"></script>
{{ end }}
