From 024ebc173320212e562cc0baa2a72a7ea3405180 Mon Sep 17 00:00:00 2001 From: olOwOlo <26087907+olOwOlo@users.noreply.github.com> Date: Sun, 8 Sep 2019 22:42:48 +0800 Subject: [PATCH] refactor(*): deprecated warn, Pages .URL -> .RelPermalink --- layouts/_default/section.html | 2 +- layouts/_default/taxonomy.html | 2 +- layouts/partials/comments.html | 14 +++++++------- layouts/post/single.html | 4 ++-- layouts/post/summary.html | 4 ++-- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/layouts/_default/section.html b/layouts/_default/section.html index 2b159e4..b61e67e 100644 --- a/layouts/_default/section.html +++ b/layouts/_default/section.html @@ -25,7 +25,7 @@ {{ $element.Date.Format "01-02" }} - + {{ .Title }} diff --git a/layouts/_default/taxonomy.html b/layouts/_default/taxonomy.html index 2be015a..83dba7c 100644 --- a/layouts/_default/taxonomy.html +++ b/layouts/_default/taxonomy.html @@ -21,7 +21,7 @@ {{ .Date.Format (.Site.Params.dateFormatToUse | default "2006-01-02") }} - + {{ .Title }} diff --git a/layouts/partials/comments.html b/layouts/partials/comments.html index 0d3e8cf..7fd6676 100644 --- a/layouts/partials/comments.html +++ b/layouts/partials/comments.html @@ -19,14 +19,14 @@ {{- if and .Site.Params.changyanAppid .Site.Params.changyanAppkey -}} -
+
@@ -95,12 +95,12 @@ {{- end }} - + {{- if .Site.Params.valine.enable -}} {{- if .Site.Params.valine.visitor -}} - + 0

@@ -114,9 +114,9 @@ el: '#vcomments' , appId: '{{ .Site.Params.valine.appId }}', appKey: '{{ .Site.Params.valine.appKey }}', - notify: {{ .Site.Params.valine.notify }}, - verify: {{ .Site.Params.valine.verify }}, - avatar:'{{ .Site.Params.valine.avatar }}', + notify: {{ .Site.Params.valine.notify }}, + verify: {{ .Site.Params.valine.verify }}, + avatar:'{{ .Site.Params.valine.avatar }}', placeholder: '{{ .Site.Params.valine.placeholder }}', visitor: {{ .Site.Params.valine.visitor }} }); diff --git a/layouts/post/single.html b/layouts/post/single.html index fcda0dd..f19cb9b 100644 --- a/layouts/post/single.html +++ b/layouts/post/single.html @@ -53,14 +53,14 @@