From 3649382c343cdec849ff2924e4c71bc869b752ad Mon Sep 17 00:00:00 2001 From: Khusika Dhamar Gusti Date: Sat, 28 Nov 2020 08:53:51 +0700 Subject: [PATCH] fix(home): Don't use div element inside heading This error appears when we use typeit (with div element) in home-subtitle (with heading element). PS: We don't need to re-set the class because home-subtitle has already declared the font-size in the style. Partially fixes: #401 Signed-off-by: Khusika Dhamar Gusti --- layouts/partials/home/profile.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/home/profile.html b/layouts/partials/home/profile.html index b37e152..b453fad 100644 --- a/layouts/partials/home/profile.html +++ b/layouts/partials/home/profile.html @@ -28,7 +28,7 @@ {{- end -}} {{- with $profile.subtitle -}} -

+
{{- if $profile.typeit -}} {{- $id := dict "Content" . "Scratch" $.Scratch | partial "function/id.html" -}}
@@ -36,7 +36,7 @@ {{- else -}} {{- . -}} {{- end -}} -

+ {{- end -}} {{- if $profile.social -}}