index.html 921 B

1234567891011121314151617181920212223242526272829303132333435
  1. {{ define "main" }}
  2. {{ if not .Paginator.HasPrev }}
  3. <div class="homepage-content">
  4. {{ .Content }}
  5. </div>
  6. {{ end }}
  7. {{ $pages := where site.RegularPages "Type" "in" site.Params.mainSections }}
  8. {{ range (.Paginate $pages).Pages }}
  9. <article class="post-list">
  10. <header>
  11. <h1>
  12. <a href="{{ .RelPermalink }}">{{ .Title }}</a>
  13. </h1>
  14. </header>
  15. {{ partial "articleInfoFull.html" . }}
  16. <div class="content">
  17. {{ .Summary | safeHTML }}
  18. </div>
  19. <!-- {{ if .Truncated }}
  20. <div class="read-more">
  21. <a href="{{ .RelPermalink }}">{{ i18n "readMore" | humanize }}</a>
  22. </div>
  23. {{ end }} -->
  24. </article>
  25. {{ end }}
  26. {{ partial "pagination.html" . }}
  27. Webring: <a href="https://remycoppard.xyz">&lt; Previous</a> | <a href="https://webring.t0.vc">Index</a> | <a href="https://elefantlover.github.io/">Next &gt;</a>
  28. {{ end }}