💄 Make home post view only work for waline.
This commit is contained in:
parent
146bf52038
commit
fa414e827a
@ -5,8 +5,8 @@
|
|||||||
|
|
||||||
@include mobile() {
|
@include mobile() {
|
||||||
.wl-reaction-img {
|
.wl-reaction-img {
|
||||||
width: 32px;
|
width: 28px;
|
||||||
height: 32px;
|
height: 28px;
|
||||||
}
|
}
|
||||||
.wl-reaction-votes {
|
.wl-reaction-votes {
|
||||||
padding: 0.85px;
|
padding: 0.85px;
|
||||||
|
@ -27,9 +27,11 @@
|
|||||||
{{ partial "post/header_meta/created_date.html" . }}
|
{{ partial "post/header_meta/created_date.html" . }}
|
||||||
{{ partial "post/header_meta/update_date.html" . }}
|
{{ partial "post/header_meta/update_date.html" . }}
|
||||||
{{ partial "post/header_meta/categories.html" . }}
|
{{ partial "post/header_meta/categories.html" . }}
|
||||||
|
{{ if .Site.Params.waline.pageView }}
|
||||||
{{ if and $.IsHome (not (isset .Params "extlink")) }}
|
{{ if and $.IsHome (not (isset .Params "extlink")) }}
|
||||||
{{ partial "post/header_meta/views.html" . }}
|
{{ partial "post/header_meta/views.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
{{- if not $.IsHome }}
|
{{- if not $.IsHome }}
|
||||||
<div class="post-meta-items">
|
<div class="post-meta-items">
|
||||||
|
Loading…
Reference in New Issue
Block a user