github.com/square/finch@v0.0.0-20240412205204-6530c03e2b96/docs/themes/hugo-geekdoc/layouts/_default/terms.html (about) 1 {{ define "main" }} 2 {{ range .Paginator.Pages.ByTitle }} 3 <article class="gdoc-post"> 4 <header class="gdoc-post__header"> 5 <h1 class="gdoc-post__title"> 6 <a href="{{ .RelPermalink }}">{{ partial "utils/title" . }}</a> 7 </h1> 8 </header> 9 10 <footer class="gdoc-post__meta flex align-center"> 11 <span class="flex align-center no-wrap"> 12 {{ $pageCount := len .Pages }} 13 <svg class="gdoc-icon gdoc_tag"><use xlink:href="#gdoc_tag"></use></svg> 14 <span class="gdoc-post__tag"> 15 {{ i18n "posts_count" $pageCount }} 16 </span> 17 </span> 18 19 <span class="flex align-center no-wrap"> 20 <svg class="gdoc-icon gdoc_star"><use xlink:href="#gdoc_star"></use></svg> 21 <span> 22 {{ $latet := index .Pages.ByDate 0 }} 23 {{ with $latet }} 24 <a href="{{ .RelPermalink }}">{{ partial "utils/title" . }}</a> 25 {{ end }} 26 </span> 27 </span> 28 </footer> 29 </article> 30 {{ end }} 31 {{ partial "pagination.html" . }} 32 {{ end }}