fixed posts columns

This commit is contained in:
Pablo Ferreiro 2025-03-09 19:34:51 +01:00
parent 0870302844
commit dcd39f4b6d
Signed by: ferreiro
GPG Key ID: 41FBCE65B779FA24

View File

@ -1,13 +1,17 @@
{{ define "main" }} {{ define "main" }}
{{ .Content }} {{ .Content }}
<div class="row center-xs middle-xs"> <div class="row center-xs middle-xs">
{{ range .Pages }} {{ range .Pages.ByDate.Reverse }}
<div class="col-xs-12 col-sm-12 col-md-4 col-lg-4"> <div class="col-xs-12 col-sm-12 col-md-8 col-lg-8">
<p><strong>{{ .Title }}</strong></p> <div class="row center-xs middle-xs">
<p>{{ .Description }}</p> <div class="col-xs">
<p>📅: {{ partial "time.html" . }}</p> <p><strong>{{ .Title }}</strong></p>
<a class="button" href="{{ .Permalink }}">Info</a> <p>{{ .Description }}</p>
<p>📅: {{ partial "time.html" . }}</p>
<a class="button" href="{{ .Permalink }}">Info</a>
</div>
</div>
</div> </div>
{{ end }}
</div> </div>
{{ end }} {{ end }}
{{ end }}