feat: Add Content Security Policy, enhance author information display with TypeIt animation, and include an RSS social link.
All checks were successful
Hugo Publish CI / build-and-deploy (push) Successful in 22s

This commit is contained in:
2025-12-20 10:59:32 -08:00
parent f374adac0c
commit 5b0d9a761d
3 changed files with 75 additions and 1 deletions

View File

@@ -0,0 +1,21 @@
<h1>{{ .Site.Params.author }}</h1>
{{ if .Site.Params.info }}
<h2 id="typeit-info"></h2>
<script src="https://unpkg.com/typeit@8.7.1/dist/index.umd.js"></script>
<script>
document.addEventListener("DOMContentLoaded", function () {
new TypeIt("#typeit-info", {
strings: {{ .Site.Params.info | jsonify | safeJS }},
speed: 50,
loop: true,
breakLines: false,
nextStringDelay: 2000,
deleteSpeed: 50,
startDelay: 500,
lifeLike: true
}).go();
});
</script>
{{ end }}