index.html 507 B

12345678910111213141516
  1. {{ define "main" }}
  2. {{- partial "about.html" . -}}
  3. <div id="blog-post" class="panel my-2">
  4. <h1 class="mb-4"><a href="/blog/">Blog Posts</a></h1>
  5. {{ range first 3 (where .Site.RegularPages "Section" "blog") }}
  6. {{ partial "micropanel.html" . }}
  7. {{end}}
  8. </div>
  9. <div id="project-posts" class="panel my-2">
  10. <h1 class="mb-4"><a href="/projects/">Featured Projects</a></h1>
  11. {{ range first 3 (where .Site.RegularPages "Section" "projects") }}
  12. <div>{{ .Title }}</div>
  13. {{end}}
  14. </div>
  15. {{ end }}