aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/index.html
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2025-01-05 23:44:45 +0100
committerOscar Najera <hi@oscarnajera.com>2025-01-05 23:45:00 +0100
commit4b76a856b2841fb197acc982ed168bc52db6ea3d (patch)
treebb92327990d20b262dca7f597453c8ae7bfee16d /layouts/index.html
parentf9e5452a0046e6e47425f0c58d438d0f573fece9 (diff)
downloadhugo-minimalist-theme-4b76a856b2841fb197acc982ed168bc52db6ea3d.tar.gz
hugo-minimalist-theme-4b76a856b2841fb197acc982ed168bc52db6ea3d.tar.bz2
hugo-minimalist-theme-4b76a856b2841fb197acc982ed168bc52db6ea3d.zip
add tailwind and do some replacements
Diffstat (limited to 'layouts/index.html')
-rw-r--r--layouts/index.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/index.html b/layouts/index.html
index fb866ad..fd160ce 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -6,7 +6,7 @@
{{ range (where .Pages "Type" "in" .Site.Params.mainSections).ByWeight }}
{{ if gt (len .Pages) 0 }}
<div class="stripe-dark">
- <div class="mw7 center pa1">
+ <div class="max-w-screen-md mx-auto p-1">
<h2
id="{{ anchorize .Title | safeURL }}"
class="baskerville lh-title f2"
@@ -16,9 +16,9 @@
{{ range first 3 .Pages.ByPublishDate.Reverse }}
{{ partial "post.html" . }}
{{ end }}
- <div class="tc pa3">
+ <div class="tc p-4">
<i class="fas fa-angle-right"></i>
- <a href="{{ .Type }}" class="f3 link near-black"
+ <a href="{{ .Type }}" class="f3 near-black"
>{{ T "see_all" | humanize }}</a
>
</div>