hugo-theme-termlite/layouts/blog/list.html
Eryn Wells 4c689f0f5c Reduce the depth of the DOM and simplify the CSS a bit
Remove the main intermediate container. It wasn't acutally serving a purpose.
Remove some of the BEM-style classes that also weren't really doing anything.
2024-10-13 23:13:16 -07:00

17 lines
414 B
HTML

{{ define "main" }}
<main class="main--list">
<header class="page-header">
{{ partial "page_header.html" (dict "page" .) }}
</header>
{{- with .Content }}
<div class="main__content">{{ . }}</div>
{{ end -}}
{{ range .Pages.ByDate.Reverse -}}
{{ if or (not .Draft) hugo.IsDevelopment }}
{{ .Render "page_summary" }}
{{ end }}
{{- end }}
</main>
{{ end }}