💄 Make home post view only work for waline.

This commit is contained in:
凡梦星尘 2022-10-29 20:35:19 +08:00
parent 146bf52038
commit fa414e827a
2 changed files with 5 additions and 3 deletions

View File

@ -5,8 +5,8 @@
@include mobile() {
.wl-reaction-img {
width: 32px;
height: 32px;
width: 28px;
height: 28px;
}
.wl-reaction-votes {
padding: 0.85px;

View File

@ -27,9 +27,11 @@
{{ partial "post/header_meta/created_date.html" . }}
{{ partial "post/header_meta/update_date.html" . }}
{{ partial "post/header_meta/categories.html" . }}
{{ if .Site.Params.waline.pageView }}
{{ if and $.IsHome (not (isset .Params "extlink")) }}
{{ partial "post/header_meta/views.html" . }}
{{ end }}
{{ end }}
</div>
{{- if not $.IsHome }}
<div class="post-meta-items">