chore: Move .Site.Author to .Site.Params.Author

This commit is contained in:
unacro
2024-08-11 20:45:05 +08:00
parent 41615910a7
commit d6873cf1b1
15 changed files with 40 additions and 35 deletions

View File

@@ -87,7 +87,7 @@
<strong class="block mt-8">
<a target="_blank"
class="m-1 rounded bg-neutral-300 p-1.5 text-neutral-700 hover:bg-primary-500 hover:text-neutral dark:bg-neutral-700 dark:text-neutral-300 dark:hover:bg-primary-400 dark:hover:text-neutral-800"
href="mailto:{{ .Site.Author.email }}?subject={{ replace (printf "Reply to %s" .Title) "\"" "'" }}">
href="mailto:{{ .Site.Params.Author.email }}?subject={{ replace (printf "Reply to %s" .Title) "\"" "'" }}">
Reply by Email
</a>
</strong>