Add headline parameter to author

This commit is contained in:
James Panther
2022-01-12 12:32:29 +11:00
parent ca5d0bd057
commit 9ead2c33e8
4 changed files with 8 additions and 0 deletions
+5
View File
@@ -20,6 +20,11 @@
<h1 class="text-4xl font-extrabold">
{{ .Site.Author.name | default .Site.Title }}
</h1>
{{ with .Site.Author.headline }}
<h2 class="text-xl text-neutral-500 dark:text-neutral-400">
{{ . }}
</h2>
{{ end }}
<div class="mt-1 text-2xl">
{{ partialCached "author-links.html" . }}
</div>