3 changed files with 70 additions and 1 deletions
@ -0,0 +1,13 @@ |
|||
<article class="float-on-hover"> |
|||
<a href=" {{.Permalink }}"> |
|||
{{- $image := (.Resources.GetMatch "featured").Resize "256x webp q90" }} |
|||
<img src={{ $image.RelPermalink }} alt="{{ .Params.featured.alt }}"> |
|||
</a> |
|||
<h3 class="title">{{ .Title | markdownify }}</h3> |
|||
{{- with .Date }} |
|||
<p>{{ .Format "2006/01/02" }}</p> |
|||
{{- end }} |
|||
{{- with index (.GetTerms "tags") 0 }} |
|||
<a href="{{ .Permalink }}">{{ .LinkTitle }}</a> |
|||
{{- end }} |
|||
</article> |
Loading…
Reference in new issue