hackertours-theme/layouts/_default/card.html

8 lines
225 B
HTML

<article class="card{{ with .Section }} card--{{ . | urlize }}{{ end }}">
<header>
<h2 class="title"><a href="{{ .RelPermalink }}">{{ .Title }}</a></h2>
</header>
<div class="content">
<p>{{ .Summary }}</p>
</div>
</article>