Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/uPagge/uBlogger.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhusika Dhamar Gusti <mail@khusika.com>2020-11-28 04:53:51 +0300
committerKhusika Dhamar Gusti <mail@khusika.com>2020-11-28 05:54:29 +0300
commit3649382c343cdec849ff2924e4c71bc869b752ad (patch)
tree5cae2c0d9047f7f658099e76104429db68f63420 /layouts/partials
parent9151f85ce9bdd63cd6995d8fb3789bf9b62b6b3d (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.html4
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 -}}