2021-07-06 13:19:13 -05:00
|
|
|
{{ if .Site.Params.showcaseDir }}
|
|
|
|
{{ $showcasePosts := where site.RegularPages "Section" "in" .Site.Params.showcaseDir }}
|
2021-07-06 16:12:27 -05:00
|
|
|
<div class="postlist gridView">
|
|
|
|
{{ range (sort $showcasePosts "File.LogicalName") }}
|
|
|
|
{{ if in .File.Dir .Site.Params.showcaseDir }}
|
2021-12-28 03:46:29 -06:00
|
|
|
<article class="card postlistitem">
|
2021-07-06 16:12:27 -05:00
|
|
|
<div>
|
|
|
|
<h2>{{ .Title }}</h2>
|
|
|
|
{{ if .Params.image }}
|
|
|
|
<img src="{{ .Params.image }}" />
|
|
|
|
{{ end }}
|
|
|
|
<div>{{ .Content }}</div>
|
|
|
|
</div>
|
|
|
|
</article>
|
|
|
|
{{ end }}
|
2021-07-06 13:19:13 -05:00
|
|
|
{{ end }}
|
2021-07-06 16:12:27 -05:00
|
|
|
</div>
|
2021-07-06 13:19:13 -05:00
|
|
|
<hr />
|
|
|
|
{{ end }}
|