From b7be3ba6726eab551c856aaf7589f7b81a4021c7 Mon Sep 17 00:00:00 2001 From: NaNkeen Date: Wed, 29 May 2019 12:11:59 +0800 Subject: [PATCH] Implemented Commento embedding --- .../page-single/comment/commento.html | 25 +++++++++++++++++++ .../partials/page-single/post-comment.html | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 layouts/partials/page-single/comment/commento.html diff --git a/layouts/partials/page-single/comment/commento.html b/layouts/partials/page-single/comment/commento.html new file mode 100644 index 0000000..3861012 --- /dev/null +++ b/layouts/partials/page-single/comment/commento.html @@ -0,0 +1,25 @@ +
+ + + diff --git a/layouts/partials/page-single/post-comment.html b/layouts/partials/page-single/post-comment.html index a9d2ab7..668a0e1 100644 --- a/layouts/partials/page-single/post-comment.html +++ b/layouts/partials/page-single/post-comment.html @@ -5,5 +5,7 @@ {{ partial "page-single/comment/graphcomment.html" . }} {{ else if .Site.Params.UtterancesRepo }} {{ partial "page-single/comment/utterances.html" . }} + {{ else if .Site.Params.Commento }} + {{ partial "page-single/comment/commento.html" . }} {{ end }} {{ end }}