baseddata.io/layouts/_default/list.html

28 lines
789 B
HTML

{{ define "main" }}
<div class="page-content">
<h1>{{ .Title }}</h1>
{{ .Content }}
</div>
<div class="list-content-container">
<div class="article-card-flex-container">
{{ range.Pages }}
<a class="article-card" href="{{ .RelPermalink }}">
<div class="article-card-info">
<img class="article-card-thumbnail" src="{{ .Params.header_image }}" />
<div class="article-card-summary">
<h3><strong>{{ .Title | safeHTML }}</strong></h3>
<p>{{ .Summary | safeHTML }}</p>
<br />
</div>
{{ if isset .Params "date" }}
<div class="article-card-author-row">
<time>{{ .Date.Format "January 2, 2006" }}</time>
</div>
{{ end }}
</div>
</a>
{{ end }}
</div>
</div>
{{ end }}