diff --git a/assets/css/_common/components/third-party/waline.scss b/assets/css/_common/components/third-party/waline.scss index 648c450..2e57eb4 100644 --- a/assets/css/_common/components/third-party/waline.scss +++ b/assets/css/_common/components/third-party/waline.scss @@ -5,8 +5,8 @@ @include mobile() { .wl-reaction-img { - width: 32px; - height: 32px; + width: 28px; + height: 28px; } .wl-reaction-votes { padding: 0.85px; diff --git a/layouts/partials/post/header.html b/layouts/partials/post/header.html index 719aa27..50293cf 100644 --- a/layouts/partials/post/header.html +++ b/layouts/partials/post/header.html @@ -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 and $.IsHome (not (isset .Params "extlink")) }} + {{ if .Site.Params.waline.pageView }} + {{ if and $.IsHome (not (isset .Params "extlink")) }} {{ partial "post/header_meta/views.html" . }} {{ end }} + {{ end }} {{- if not $.IsHome }}