hugo-theme-readable/layouts/index.html

18 lines
405 B
HTML

{{ define "main" }}
{{ partial "metadata.html" . }}
<!-- <br><br> -->
<article>
</article>
<div>
{{ range where .Site.RegularPages "Section" "in" .Site.MainSections }}
<section class="articles">
<h3><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h3>
{{ partial "metadata.html" . }}
<p class="summary">{{ .Summary }}</p>
</section>
{{ end }}
</div>
{{ end }}