feat(home): allow HTML format in subtitle

Signed-off-by: Khusika Dhamar Gusti <mail@khusika.com>
This commit is contained in:
Khusika Dhamar Gusti
2020-10-08 00:50:40 +07:00
parent f787a4e5ad
commit 89d344074a
2 changed files with 4 additions and 4 deletions

View File

@@ -34,7 +34,7 @@
<div id="{{ $id }}" class="typeit"></div>
{{- dict $id (slice $id) | dict "typeitMap" | merge ($.Scratch.Get "this") | $.Scratch.Set "this" -}}
{{- else -}}
{{- . -}}
{{- . | safeHTML -}}
{{- end -}}
</h2>
{{- end -}}