From 4b76a856b2841fb197acc982ed168bc52db6ea3d Mon Sep 17 00:00:00 2001 From: Oscar Najera Date: Sun, 5 Jan 2025 23:44:45 +0100 Subject: add tailwind and do some replacements --- layouts/partials/hero.html | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'layouts/partials/hero.html') diff --git a/layouts/partials/hero.html b/layouts/partials/hero.html index 1654b5d..69bec8a 100644 --- a/layouts/partials/hero.html +++ b/layouts/partials/hero.html @@ -1,11 +1,11 @@
-
+
{{ if eq .Type "authors" }} {{ $avatar := index .Params.images 1 }} {{ if hasPrefix $avatar "http" }} @@ -14,29 +14,33 @@ {{ $avatar = resources.Get $avatar }} {{ end }} {{ with $avatar }} - + {{ end }} -

+

{{ .Params.Name }}

-

+

{{ .Params.role | markdownify }}

{{ with .Params.Subtitle }} -

+

{{ . | markdownify }}

{{ end }} -
+
{{ partial "social_links" .Params }}
{{ else }} -

{{ .Title }}

+

{{ .Title }}

{{ .Content }} {{ end }}
-- cgit v1.2.3