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>
This commit is contained in:
@@ -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 -}}
|
||||
|
||||
Reference in New Issue
Block a user