diff options
author | Oscar Najera <hi@oscarnajera.com> | 2025-01-06 05:22:56 +0100 |
---|---|---|
committer | Oscar Najera <hi@oscarnajera.com> | 2025-01-06 05:22:56 +0100 |
commit | c123fc189929429164bf7268a9e7d5974884499f (patch) | |
tree | 2b33979e9df4ed36d77e23f9a9571fad4f90935c /layouts/partials/author_card.html | |
parent | ecb7569b3c047f6e6845f8a49f6eee3d6762a968 (diff) | |
download | hugo-minimalist-theme-c123fc189929429164bf7268a9e7d5974884499f.tar.gz hugo-minimalist-theme-c123fc189929429164bf7268a9e7d5974884499f.tar.bz2 hugo-minimalist-theme-c123fc189929429164bf7268a9e7d5974884499f.zip |
more translations
Diffstat (limited to 'layouts/partials/author_card.html')
-rw-r--r-- | layouts/partials/author_card.html | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/layouts/partials/author_card.html b/layouts/partials/author_card.html index 83f59d7..b23c3e7 100644 --- a/layouts/partials/author_card.html +++ b/layouts/partials/author_card.html @@ -1,18 +1,22 @@ -<article class="max-w-screen-md mx-auto pa4 flex flex-column flex-row-ns bt b--black-10"> - <div class="w-10-ns tc"> - <img src="{{ .avatar }}" class="br-100 w3" alt="{{ .name }}" /> - </div> - <div class="w-90-ns ph3-ns"> - <h5 class="f4 my-0 berkshire-swash"> - <a href="{{ (default .path .homepage) }}" class="color-inherit"> +<article + class="max-w-screen-md mx-auto p-8 md:flex md:flex-row items-start border-t" +> + <img + src="{{ .avatar }}" + class="rounded-full w-16 mx-auto md:m-4" + alt="{{ .name }}" + /> + <div class=""> + <h5 class="my-0 berkshire-swash"> + <a href="{{ (default .path .homepage) }}" class=""> {{ .name }} </a> </h5> - <h6 class="f5 fw3 p-0 m-0">{{ .role | markdownify }}</h6> - <p class="f6 lh-copy"> + <h6 class="font-light p-0 m-0">{{ .role | markdownify }}</h6> + <p class="mt-3"> {{ .bio }} </p> - <div class="f4 mt-4"> + <div class="text-xl mt-4"> {{ partial "social_links" . }} </div> </div> |