Feat: add HTML support for profile subtitle

This commit is contained in:
Cell
2024-09-10 14:23:00 +08:00
parent de0dae97c1
commit dafc2665c3
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -548,7 +548,7 @@ enableEmoji = true
avatarMenu = ""
# title shown in home page (HTML format is supported)
title = ""
# subtitle shown in home page
# subtitle shown in home page (HTML format is supported)
subtitle = ""
# whether to use typeit animation for subtitle
typeit = true
+1 -1
View File
@@ -49,7 +49,7 @@
{{- $.Store.Set "hasTyped" true -}}
<span class="typeit"><template>{{ . }}</template></span>
{{- else -}}
{{- . -}}
{{- . | safeHTML -}}
{{- end -}}
</p>
{{- end -}}
+1 -1
View File
@@ -1,4 +1,4 @@
{{- .Scratch.Set "version" "v0.3.12-788f8b7f" -}}
{{- .Scratch.Set "version" "v0.3.12-de0dae97" -}}
{{- .Scratch.Set "this" dict -}}
{{- partial "init/detection-env.html" . -}}