diff options
author | Khusika Dhamar Gusti <mail@khusika.com> | 2020-11-28 04:53:51 +0300 |
---|---|---|
committer | Khusika Dhamar Gusti <mail@khusika.com> | 2020-11-28 05:54:29 +0300 |
commit | 3649382c343cdec849ff2924e4c71bc869b752ad (patch) | |
tree | 5cae2c0d9047f7f658099e76104429db68f63420 /layouts/partials | |
parent | 9151f85ce9bdd63cd6995d8fb3789bf9b62b6b3d (diff) |
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 <mail@khusika.com>
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/home/profile.html | 4 |
1 files 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 -}} - <h2 class="home-subtitle"> + <div class="home-subtitle"> {{- if $profile.typeit -}} {{- $id := dict "Content" . "Scratch" $.Scratch | partial "function/id.html" -}} <div id="{{ $id }}" class="typeit"></div> @@ -36,7 +36,7 @@ {{- else -}} {{- . -}} {{- end -}} - </h2> + </div> {{- end -}} {{- if $profile.social -}} |