hackertours-theme/layouts/_default/summary.html

10 lines
485 B
HTML

<article class="{{ with .Section }}section-{{ . | urlize }}{{ end }} list-view">
<header>
<h2 class="title {{ if $.Param "submitted" | default false }}title-submitted{{ end }}"><a href="{{ .RelPermalink }}">{{ .Title }}</a></h2>
{{ if $.Param "submitted" | default false }}{{ partial "submitted.html" . -}}{{ end }}
</header>
<div class="content">
{{ .Summary }}
<p class="read-more"><a class="read-more" href="{{ .Permalink }}">Read the rest of this posting</a></p>
</div>
</article>