From 9d1ba9d21d2d19bfe2e4f2557fb22cc1ed7f09fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Cl=C3=A9ment=20Pannetier?=
<35581688+clement-pannetier@users.noreply.github.com>
Date: Mon, 25 May 2020 15:41:38 +0200
Subject: [PATCH] Utterances commenting system name corrected (#342)
---
layouts/partials/posts/utteranc.html | 11 -----------
layouts/partials/posts/utterances.html | 11 +++++++++++
layouts/posts/single.html | 2 +-
3 files changed, 12 insertions(+), 12 deletions(-)
delete mode 100644 layouts/partials/posts/utteranc.html
create mode 100644 layouts/partials/posts/utterances.html
diff --git a/layouts/partials/posts/utteranc.html b/layouts/partials/posts/utteranc.html
deleted file mode 100644
index 91184e1..0000000
--- a/layouts/partials/posts/utteranc.html
+++ /dev/null
@@ -1,11 +0,0 @@
-{{- if isset .Site.Params "utteranc" -}}
- {{- if and (isset .Site.Params.utteranc "repo") (not (eq .Site.Params.utteranc.repo "" )) (eq (.Params.disable_comments | default false) false) -}}
-
- {{- end -}}
-{{- end -}}
diff --git a/layouts/partials/posts/utterances.html b/layouts/partials/posts/utterances.html
new file mode 100644
index 0000000..9e40a43
--- /dev/null
+++ b/layouts/partials/posts/utterances.html
@@ -0,0 +1,11 @@
+{{- if isset .Site.Params "utterances" -}}
+ {{- if and (isset .Site.Params.utterances "repo") (not (eq .Site.Params.utterances.repo "" )) (eq (.Params.disable_comments | default false) false) -}}
+
+ {{- end -}}
+{{- end -}}
diff --git a/layouts/posts/single.html b/layouts/posts/single.html
index 1e7d064..63e88d9 100644
--- a/layouts/posts/single.html
+++ b/layouts/posts/single.html
@@ -38,7 +38,7 @@
{{ partial "posts/series.html" . }}
{{ partial "posts/disqus.html" . }}
{{ partial "posts/commento.html" . }}
- {{ partial "posts/utteranc.html" . }}
+ {{ partial "posts/utterances.html" . }}