diff options
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/author_card.html | 2 | ||||
-rw-r--r-- | layouts/partials/hero.html | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/layouts/partials/author_card.html b/layouts/partials/author_card.html index fdc8926..22d60e0 100644 --- a/layouts/partials/author_card.html +++ b/layouts/partials/author_card.html @@ -12,7 +12,7 @@ {{ .name }} {{ end }} </h5> - <h6 class="f5 fw3 pa0 ma0">{{ .role }}</h6> + <h6 class="f5 fw3 pa0 ma0">{{ .role | markdownify }}</h6> <p class="f6 lh-copy"> {{ .bio }} </p> 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 }} |