2022-08-17 14:47:54 -04:00
|
|
|
<article class="post">
|
|
|
|
<a href="{{.Permalink}}"><h2>{{.Title}}</h2></a>
|
|
|
|
{{if .Date }}
|
|
|
|
<p>{{.Date | time.Format "Jan 02 2006"}}</p>
|
|
|
|
{{end}}
|
2022-09-17 19:22:44 -04:00
|
|
|
<a href="{{.Permalink}}">
|
|
|
|
{{if .Params.gif}}
|
|
|
|
<video autoplay muted loop preload="true">
|
|
|
|
<source src="{{.Site.BaseURL}}{{.Params.gif}}">
|
|
|
|
</video>
|
2022-09-02 07:03:46 -04:00
|
|
|
{{else}}
|
2022-09-17 19:22:44 -04:00
|
|
|
{{if .Params.video}}<video controls loop preload="none"><source src="{{.Site.BaseURL}}{{.Params.video}}"></video>
|
2022-09-02 07:03:46 -04:00
|
|
|
{{else}}
|
2022-09-17 19:22:44 -04:00
|
|
|
{{if .Params.audio}}<audio controls preload="none"><source src="{{.Site.BaseURL}}{{.Params.audio}}"></audio>
|
|
|
|
{{else}}
|
|
|
|
{{if .Params.image}}<img loading="lazy" src="{{.Site.BaseURL}}{{.Params.image}}">
|
|
|
|
{{end}}
|
2022-09-02 07:03:46 -04:00
|
|
|
{{end}}
|
|
|
|
{{end}}
|
|
|
|
{{end}}
|
2022-09-17 19:22:44 -04:00
|
|
|
</a>
|
|
|
|
<p>{{.Params.description}}</p>
|
2022-09-15 17:12:31 -04:00
|
|
|
{{ if .GetTerms "tags" }}
|
|
|
|
<div class="post-tags">
|
|
|
|
|
|
|
|
<span>Tags:</span>
|
|
|
|
{{range .GetTerms "tags" }}
|
|
|
|
<a href="{{.Permalink}}">{{.LinkTitle}}</a>
|
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
{{end}}
|
2022-08-17 14:47:54 -04:00
|
|
|
</article>
|