Hugo port

This commit is contained in:
2024-02-21 17:58:07 +01:00
parent 360bfea671
commit d75599d8d8
40 changed files with 343 additions and 294 deletions

13
layouts/posts/list.html Normal file
View File

@ -0,0 +1,13 @@
{{ 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 }}