blog-legacy/themes/bbaovanc/layouts/index.html
2021-03-24 23:03:17 -05:00

16 lines
397 B
HTML

{{ define "main" }}
<h1>{{.Title}}</h1>
{{ with .Params.subtitle }}
<span class="subtitle">{{.}}</span>
{{ end }}
<div class="homepage-content">
<!-- Note that the content for index.html, as a sort of list page, will pull from content/_index.md -->
{{.Content}}
</div>
<div>
{{ range first 10 .Site.RegularPages }}
{{ .Render "summary"}}
{{ end }}
</div>
{{ end }}