hugo-theme-readable/layouts/index.html

20 lines
387 B
HTML

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