abdullahtarawneh.com/layouts/shortcodes/work/work-items.html
a 2247ee2776 June 2024 redesign (#1)
still missing some things but they were missing before anyway. so it's probably better to just push and deploy already.

Reviewed-on: #1
2024-06-03 23:22:36 +00:00

11 lines
421 B
HTML

{{ range where .Site.RegularPages "Section" "work" }}
<section class="work-item {{ .Permalink | relURL | anchorize }}">
<a class="work-item__link" href="{{ .Permalink }}">
<h3 class="work-item__title">{{ .Title }}</h3>
{{ with .Resources.GetMatch "cover" }}
<img class="work-item__image" src="{{ .Permalink }}" alt="">
{{ end }}
</a>
<p class="work-item__summary">{{.Summary}}</p>
</section>
{{ end }}