shared-bulma-theme/layouts/_default/summary.html

18 lines
No EOL
605 B
HTML

<a href="{{ .Permalink }}">
<div class="card">
<div class="card-image">
<figure class="image is-2by1">
<img src="{{ .Site.BaseURL }}/images/banners/{{ .Params.Banner | default (print .File.BaseFileName " .png ") }}" alt="">
</figure>
</div>
<div class="card-content">
<p class="title is-4">{{ .Title }}</p>
<p class="subtitle is-6">{{ .Date.Format "January 02 2006" }} by {{ .Params.author }}</p>
<div class="content">
{{ .Summary }}
</div>
</div>
</div>
</a>