github.com/square/finch@v0.0.0-20240412205204-6530c03e2b96/docs/themes/hugo-geekdoc/layouts/posts/list.html (about)

     1  {{ define "main" }}
     2    {{ range .Paginator.Pages }}
     3      <article class="gdoc-markdown 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        <section>
    10          {{ .Summary }}
    11        </section>
    12        <div class="gdoc-post__readmore">
    13          {{ if .Truncated }}
    14            <a
    15              class="flex-inline align-center fake-link"
    16              title="{{ i18n "posts_read_more" }}"
    17              href="{{ .RelPermalink }}"
    18            >
    19              {{ i18n "posts_read_more" }}
    20              <i class="gdoc-icon">gdoc_arrow_right_alt</i>
    21            </a>
    22          {{ end }}
    23        </div>
    24  
    25        <footer class="gdoc-post__footer">
    26          <div class="flex flex-wrap align-center gdoc-post__meta">
    27            {{ partial "posts/metadata.html" . }}
    28          </div>
    29        </footer>
    30      </article>
    31    {{ end }}
    32    {{ partial "pagination.html" . }}
    33  {{ end }}
    34  
    35  {{ define "post-tag" }}
    36    <span class="gdoc-post__tag">
    37      <span class="gdoc-button">
    38        <a
    39          class="gdoc-button__link"
    40          href="{{ .page.RelPermalink }}"
    41          title="{{ i18n "posts_tagged_with" .name }}"
    42        >
    43          {{ .name }}
    44        </a>
    45      </span>
    46    </span>
    47  {{ end }}