2022-09-15 17:12:24 -04:00
|
|
|
<section class="listing">
|
|
|
|
<div>
|
|
|
|
{{ if .Params.video}}
|
|
|
|
<video controls preload="false">
|
2022-09-17 19:22:55 -04:00
|
|
|
<source src="{{.Site.BaseURL}}{{.Params.video}}">
|
2022-09-15 17:12:24 -04:00
|
|
|
</video>
|
|
|
|
{{else}}
|
|
|
|
{{if .Params.image}}
|
2022-09-17 19:22:55 -04:00
|
|
|
<a href="{{.Site.BaseURL}}{{.Permalink}}">
|
|
|
|
<img src="{{.Site.BaseURL}}{{.Params.image}}">
|
2022-09-15 17:12:24 -04:00
|
|
|
</a>
|
|
|
|
{{else}}
|
2022-09-17 19:22:55 -04:00
|
|
|
<a href="{{.Site.BaseURL}}{{.Permalink}}">
|
|
|
|
<img src="{{.Site.BaseURL}}/res/default.png">
|
2022-09-15 17:12:24 -04:00
|
|
|
</a>
|
|
|
|
{{end}}
|
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<a href="{{.Permalink}}"><h2>{{.Title}}</h2></a>
|
|
|
|
<p>{{.Params.description}}</p>
|
|
|
|
<div class="tags">
|
|
|
|
{{ range (.GetTerms "tags")}}
|
|
|
|
<a href="{{.Permalink}}">{{.LinkTitle}}</a>
|
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|