From 7893d761903c67331712409af451ae15fec3bcd5 Mon Sep 17 00:00:00 2001 From: nanxiaobei Date: Mon, 9 Jan 2023 01:49:43 +0800 Subject: [PATCH] update GraphComment --- exampleSite/config.toml | 2 -- layouts/_default/single.html | 32 ++++++++++++++++++-------------- 2 files changed, 18 insertions(+), 16 deletions(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 7256c70..69b2a00 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -24,8 +24,6 @@ title = "Paper" avatar = 'nanxiaobei@gmail.com' name = 'Lee' bio = 'Discover fresh context' - - graphcommentId = "your graph id" # ------------------------------ # needed to render raw HTML (e.g. , , , ) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index d06d87c..4e0b6e5 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -67,30 +67,34 @@ {{ end }} - - {{ if and site.Params.graphcommentId (not (eq .Params.comments false)) }} + + {{ if and site.Params.graphCommentId (not (eq .Params.comments false)) }}
{{ end }}