blog/hugo/layouts/partials/postcard.html

13 lines
369 B
HTML

{{ define "styles" }}
a.title-link {
text-decoration: none;
}
{{ end }}
<div class="card mb-4">
<div class="card-body">
<a class="title-link link-primary" href="{{ .RelPermalink }}" ><h3 class="card-title">{{ .Title }}</h3></a>
<p> {{ .Date.Format "2006-01-02" }} </p>
<p class="card-text"> {{ .Summary }} </p>
</div>
</div>