diff options
author | Oscar Najera <hi@oscarnajera.com> | 2023-10-23 08:28:50 +0200 |
---|---|---|
committer | Oscar Najera <hi@oscarnajera.com> | 2023-10-23 08:28:50 +0200 |
commit | d354f4a6bd0a002a995f221a66afb4697be78145 (patch) | |
tree | f9a868bfbd2a1aee4a2179272878929e3d0f833a /layouts/partials/hero.html | |
parent | d4c6a44bff3c2a1026239dc54cd6fdbbd586e6dc (diff) | |
download | hugo-minimalist-theme-d354f4a6bd0a002a995f221a66afb4697be78145.tar.gz hugo-minimalist-theme-d354f4a6bd0a002a995f221a66afb4697be78145.tar.bz2 hugo-minimalist-theme-d354f4a6bd0a002a995f221a66afb4697be78145.zip |
Hero about personal uses author role not subtitle
This way I can keep in sync with author card
Diffstat (limited to 'layouts/partials/hero.html')
-rw-r--r-- | layouts/partials/hero.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/layouts/partials/hero.html b/layouts/partials/hero.html index 93edc74..9ff5329 100644 --- a/layouts/partials/hero.html +++ b/layouts/partials/hero.html @@ -20,6 +20,12 @@ {{ .Title }} </h1> + {{ if .Params.personal }} + <h2 class="f3 tc fw3 mv1"> + {{ .Site.Author.role | markdownify }} + </h2> + {{ end }} + {{ with .Params.Subtitle }} <h2 class="f3 tc fw3 mv1"> {{ . | markdownify }} |