mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-09-03 12:12:39 +00:00
✨ Feat: add HTML support for profile subtitle
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
{{- $.Store.Set "hasTyped" true -}}
|
||||
<span class="typeit"><template>{{ . }}</template></span>
|
||||
{{- else -}}
|
||||
{{- . -}}
|
||||
{{- . | safeHTML -}}
|
||||
{{- end -}}
|
||||
</p>
|
||||
{{- end -}}
|
||||
|
||||
@@ -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" . -}}
|
||||
|
||||
Reference in New Issue
Block a user