mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-11-14 02:46:16 +01:00
fix(index): Use data attributes for home.posts
Partially fixes: #401 Signed-off-by: Khusika Dhamar Gusti <mail@khusika.com>
This commit is contained in:
parent
74c90db9c4
commit
fbceb4ad5d
3 changed files with 4 additions and 4 deletions
|
@ -66,7 +66,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.home[posts] {
|
.home[data-home=posts] {
|
||||||
.home-profile {
|
.home-profile {
|
||||||
@include transform(translateY(0));
|
@include transform(translateY(0));
|
||||||
padding-top: 2rem;
|
padding-top: 2rem;
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
{{- $profile := .Site.Params.home.profile -}}
|
{{- $profile := .Site.Params.home.profile -}}
|
||||||
{{- $posts := .Site.Params.home.posts -}}
|
{{- $posts := .Site.Params.home.posts -}}
|
||||||
|
|
||||||
<div class="page home"{{ if ne $posts.enable false }} posts{{ end }}>
|
<div class="page home"{{ if ne $posts.enable false }} data-home="posts"{{ end }}>
|
||||||
{{- /* Profile */ -}}
|
{{- /* Profile */ -}}
|
||||||
{{- if ne $profile.enable false -}}
|
{{- if ne $profile.enable false -}}
|
||||||
{{- partial "home/profile.html" . -}}
|
{{- partial "home/profile.html" . -}}
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue