From 87301d1d83987ca8f3202534d431840c4fc071b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=87=A1=E6=A2=A6=E6=98=9F=E5=B0=98?= Date: Wed, 27 Jul 2022 11:06:02 +0800 Subject: [PATCH] :bug: fixed the SCSS build waring things. --- assets/css/main.scss | 6 +++--- layouts/_default/list.html | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/assets/css/main.scss b/assets/css/main.scss index b43208e..78c46c2 100644 --- a/assets/css/main.scss +++ b/assets/css/main.scss @@ -131,9 +131,9 @@ $gitter_enable : {{ $P.gitter.enable }}; // Comment //$disqusjs_enable : {{ $P.disqusjs.enable }}; $disqusjs_enable : false; -$livere_enable : {{ isset $P.livere "uid" }}; -$utterances_enable : {{ isset $P.utterances "utterances" }}; -$waline_enable : {{ isset $P.waline "serverurl" }}; +$livere_enable : {{ isset $P "livere" }}; +$utterances_enable : {{ isset $P "utterances" }}; +$waline_enable : {{ isset $P "waline" }}; {{- with .Site.Params.comments }} {{- $tce := and (isset . "nav") (and .storage (gt (len .nav) 1)) }} $two_comments_enable : {{ $tce }}; diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 42c686a..19015ab 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,5 +1,5 @@ {{- if and .Page.IsSection (eq .Section "archives") }} - {{- $paginator := (.Paginate (where .Page.Site.RegularPages "Section" "in" .Site.Params.mainSections) ).Pages.GroupByDate "2006" }} + {{- $paginator := (.Paginate (where .Page.Site.RegularPages "Section" "in" .Site.Params.mainSections)).Pages.GroupByDate "2006" }} {{ partial "list.html" $paginator }} {{ else }} {{- $paginator := .Paginator.Pages.GroupByDate "2006" }}