Fork of @spf13's port of Mdo's excellent theme to Hugo https://brendan.abolivier.bzh/

index.html 415B

123456789101112131415161718
  1. {{ define "main" -}}
  2. <div class="posts">
  3. {{ range .Data.Pages -}}
  4. <div class="post">
  5. <h1 class="post-title">
  6. <a href="{{ .Permalink }}">{{ .Title }}</a>
  7. </h1>
  8. <span class="post-date">{{ .Date.Format "Mon, Jan 2, 2006" }}</span>
  9. {{ .Summary }}
  10. {{ if .Truncated }}
  11. <div class="read-more-link">
  12. <a href="{{ .RelPermalink }}">Read More…</a>
  13. </div>
  14. {{ end }}
  15. </div>
  16. {{- end }}
  17. </div>
  18. {{- end }}