fix author
All checks were successful
/ build (push) Successful in 35s

This commit is contained in:
2024-11-30 18:57:45 +01:00
parent b3239b9d96
commit 78236841f0
2 changed files with 3 additions and 3 deletions

View File

@ -86,7 +86,7 @@
{{- else }}
©
{{ now.Format "2006" }}
{{ .Site.Author.name | markdownify | emojify }}
{{ .Site.Params.Author.name | markdownify | emojify }}
{{- end }}
</p>
{{ end }}

View File

@ -6,9 +6,9 @@
>
<header class="flex flex-col items-center mb-3">
<h1 class="text-4xl font-extrabold">
{{ .Site.Author.name | default .Site.Title }}
{{ .Site.Params.Author.name | default .Site.Title }}
</h1>
{{ with .Site.Author.headline }}
{{ with .Site.Params.Author.headline }}
<h2 class="text-xl text-neutral-500 dark:text-neutral-400">
{{ . | markdownify | emojify }}
</h2>