Lego2012
6/12/2017 - 7:33 PM

taxonomy.html Example

taxonomy.html Example

{{ define "main" }}
    <article>
        <div>
          <p>Below you will find pages that utilize the taxonomy term “{{ .Title }}”</p>
      </div>
    </article>
    <div>
        {{ $section := .Data.Pages }}
        <section>
          {{ range  $section }}
              <div>
                  {{ partial "summary" . }}
              </div>
          {{ end }}
      </section>
    </div>
{{ end }}