aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/list/default.html
blob: e088f1c97516ba360fc10cfc580c30aa3fb80b4e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

<article class="flex flex-col gap-1">
  <h1>
    <a href="{{ .Permalink }}">{{ .Title }}</a>
  </h1>

  <span class="date">
    <time datetime="{{ .PublishDate }}" title='{{ .PublishDate.Format "Mon, Jan 2, 2006, 3:04 PM MST" }}'>
      {{ .PublishDate.Format "02/01/2006" }}
    </time>
  </span>

  <div class="description">
    {{ if .Params.description }}
      {{ .Params.description }}
    {{ else if .Summary }}
      {{ .Summary }}
    {{ end }}
  </div>

  <div class="mt-2">
    <a class="read-more" href="{{ .Permalink }}">
      Read more
      <span class="w-4 h-4 stroke-2">
        {{ partial "utils/icon" "arrow-right" }}
      </span>
    </a>
  </div>
</article>