From 5ec874d64e1fe31278acde1b1444b26620a0fbc8 Mon Sep 17 00:00:00 2001 From: alicewish Date: Wed, 20 Dec 2017 21:33:05 +0800 Subject: feat: add LiveRe and busuanzi (#17) * LiveRe: commenting system * busuanzi: count web traffic --- layouts/partials/comments.html | 39 +++++++++++++++++++++++++++++---------- layouts/partials/footer.html | 20 ++++++++++++++++++-- layouts/partials/head.html | 5 +++++ 3 files changed, 52 insertions(+), 12 deletions(-) (limited to 'layouts/partials') diff --git a/layouts/partials/comments.html b/layouts/partials/comments.html index 8728c17..afce2a3 100644 --- a/layouts/partials/comments.html +++ b/layouts/partials/comments.html @@ -4,24 +4,23 @@
- comments powered by Disqus {{- end }} {{- if and .Site.Params.changyanAppid .Site.Params.changyanAppkey -}} -
- {{- end }} + + + {{- if .Site.Params.livereUID -}} +
+ + +
+ {{- end }} {{- end }} \ No newline at end of file diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 7ce1aaf..50ddeb4 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,3 +1,4 @@ +{{ $lang := .Site.Data.even.default -}}