mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-11-14 02:46:16 +01:00
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:
parent
9151f85ce9
commit
3649382c34
1 changed files with 2 additions and 2 deletions
|
@ -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 -}}
|
||||
|
|
Loading…
Reference in a new issue