drm-pt.info/layouts/_default/list.html

24 lines
634 B
HTML
Raw Normal View History

2023-07-18 22:26:43 +00:00
{{ define "main" }}
<h1>Arquivos da categoria: {{ .Name }}</h1>
<ul class='articles detailed'>
2023-07-18 22:26:43 +00:00
{{ range .Pages }}
<li>
{{ $cover := (index (.Resources.ByType "image") 0) }}
{{ if $cover }}
<img src="{{ $cover.Permalink }}" alt="{{ .Params.coverdescription }}" title="{{ .Params.coverdescription }}" />
{{ end }}
<h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
<div class='summary'>
{{ .Summary }}
</div>
<p class='readmore'><a href="{{ .Permalink }}">Ler artigo completo →</a></p>
{{ partial "byline.html" . }}
</li>
2023-07-18 22:26:43 +00:00
{{ end }}
</ul>
2023-07-18 22:26:43 +00:00
{{ end }}