24 lines
987 B
HTML
24 lines
987 B
HTML
{{ $pages := .Pages }}
|
|
{{ range $pages }}
|
|
{{- $page := . -}}
|
|
{{- if reflect.IsMap . -}}
|
|
{{- $page = .page -}}
|
|
{{- end -}}
|
|
<li class="flex gap-4 items-center">
|
|
<a class="flex-1 min-w-0 wompum-container h-full" href="{{ $page.RelPermalink }}">{{ partial "article-wompum.html" $page }}</a>
|
|
<time class="text-gray-800 font-iosevka w-12 flex-shrink-0" datetime="{{ $page.Date.Format "2006-01-02" }}">
|
|
<p>{{ $page.Date.Format "Jan" }}</p>
|
|
<p>{{ $page.Date.Format "02" }}</p>
|
|
<p>{{ $page.Date.Format "2006" }}</p>
|
|
</time>
|
|
<div class="w-3/5 flex-shrink-0 py-8">
|
|
<a class="article-title article-title--list text-2xl font-bold hover:text-green-900 underline" href="{{ $page.RelPermalink }}">{{ partial "article-title" $page }}</a>
|
|
{{ if $page.Params.location }}
|
|
<p class="text-gray-800 italic">{{ $page.Params.location }}</p>
|
|
{{ end }}
|
|
<p class="max-w-prose">{{ $page.Params.summary }}</p>
|
|
{{ partial "topics.html" $page }}
|
|
</div>
|
|
</li>
|
|
{{ end }}
|