{{ define "main" }}
  {{ .Content }}
  {{ $pages := shuffle (where site.RegularPages "Section" "tools") | first 20 }}
  <section>
    <h2>Featured Tools</h2>
    {{ range $pages }}
      <article>
        <h3><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
            <p>{{ .Content | truncate 250 }}</p>
      </article>
    {{ end }}
  </section>
{{ end }}
