Web/layouts/posts/list.html
2024-02-21 17:58:07 +01:00

14 lines
418 B
HTML

{{ define "main" }}
{{ .Content }}
<div class="row center-xs middle-xs">
{{- range where site.RegularPages "Type" "posts" }}
<div class="col-xs-12 col-sm-12 col-md-4 col-lg-4">
<p><strong>{{ .Title }}</strong></p>
<p>{{ .Description }}</p>
<p>Fecha: {{ partial "time.html" . }}</p>
<a class="button" href="{{ .Permalink }}">Ver más</a>
</div>
{{- end }}
</div>
{{ end }}