aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/partials/hero.html
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2025-01-06 05:22:56 +0100
committerOscar Najera <hi@oscarnajera.com>2025-01-06 05:22:56 +0100
commitc123fc189929429164bf7268a9e7d5974884499f (patch)
tree2b33979e9df4ed36d77e23f9a9571fad4f90935c /layouts/partials/hero.html
parentecb7569b3c047f6e6845f8a49f6eee3d6762a968 (diff)
downloadhugo-minimalist-theme-c123fc189929429164bf7268a9e7d5974884499f.tar.gz
hugo-minimalist-theme-c123fc189929429164bf7268a9e7d5974884499f.tar.bz2
hugo-minimalist-theme-c123fc189929429164bf7268a9e7d5974884499f.zip
more translations
Diffstat (limited to 'layouts/partials/hero.html')
-rw-r--r--layouts/partials/hero.html16
1 files changed, 8 insertions, 8 deletions
diff --git a/layouts/partials/hero.html b/layouts/partials/hero.html
index 69bec8a..8ed0b62 100644
--- a/layouts/partials/hero.html
+++ b/layouts/partials/hero.html
@@ -5,7 +5,7 @@
, url('{{ .RelPermalink }}') center
{{ end }};"
>
- <div class="max-w-screen-md mx-auto px-2 near-white font-serif text-center">
+ <div class="max-w-screen-md mx-auto px-2 text-white font-serif text-center">
{{ if eq .Type "authors" }}
{{ $avatar := index .Params.images 1 }}
{{ if hasPrefix $avatar "http" }}
@@ -16,22 +16,22 @@
{{ with $avatar }}
<img
src="{{ .RelPermalink }}"
- class="br-100 w-64 block mx-auto"
+ class="rounded-full w-64 block mx-auto"
alt=""
/>
{{ end }}
- <h1 class="text-5xl my-1 font-bold">
+ <h1 class="">
{{ .Params.Name }}
</h1>
- <h2 class="text-2xl fw3 my-1">
+ <h3 class="font-normal">
{{ .Params.role | markdownify }}
- </h2>
+ </h3>
{{ with .Params.Subtitle }}
- <h2 class="text-2xl fw3 my-1">
+ <h3 class="">
{{ . | markdownify }}
- </h2>
+ </h3>
{{ end }}
@@ -40,7 +40,7 @@
</div>
{{ else }}
- <h1 class="text-5xl my-1 font-bold">{{ .Title }}</h1>
+ <h1 class="berkshire-swash">{{ .Title }}</h1>
{{ .Content }}
{{ end }}
</div>