aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/index.html
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2025-01-06 01:05:02 +0100
committerOscar Najera <hi@oscarnajera.com>2025-01-06 01:05:02 +0100
commitdee863b5e0812f95db4caf367983864a74b63ccc (patch)
treec15dcc000480946a10fec56987d6ee68f34b7e3f /layouts/index.html
parent4b76a856b2841fb197acc982ed168bc52db6ea3d (diff)
downloadhugo-minimalist-theme-dee863b5e0812f95db4caf367983864a74b63ccc.tar.gz
hugo-minimalist-theme-dee863b5e0812f95db4caf367983864a74b63ccc.tar.bz2
hugo-minimalist-theme-dee863b5e0812f95db4caf367983864a74b63ccc.zip
translate posts listing
Diffstat (limited to 'layouts/index.html')
-rw-r--r--layouts/index.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/layouts/index.html b/layouts/index.html
index fd160ce..7f7b5dd 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -5,20 +5,20 @@
{{ define "main" }}
{{ range (where .Pages "Type" "in" .Site.Params.mainSections).ByWeight }}
{{ if gt (len .Pages) 0 }}
- <div class="stripe-dark">
+ <div class="odd:bg-white even:bg-gray-200">
<div class="max-w-screen-md mx-auto p-1">
<h2
id="{{ anchorize .Title | safeURL }}"
- class="baskerville lh-title f2"
+ class="baskerville text-4xl my-6 font-bold"
>
{{ .Title }}
</h2>
{{ range first 3 .Pages.ByPublishDate.Reverse }}
{{ partial "post.html" . }}
{{ end }}
- <div class="tc p-4">
+ <div class="text-center p-4">
<i class="fas fa-angle-right"></i>
- <a href="{{ .Type }}" class="f3 near-black"
+ <a href="{{ .Type }}" class="text-2xl"
>{{ T "see_all" | humanize }}</a
>
</div>