From 9bd967fd761efa8923fd192b44becb229afb64b5 Mon Sep 17 00:00:00 2001 From: Mogeko Date: Tue, 14 Sep 2021 22:17:41 +0200 Subject: [PATCH] fix: fix character constant "pathname" when setting default for the configuration item Params.utterances.issueTerm, "pathname" should be used. --- layouts/partials/comments/utterances.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/comments/utterances.html b/layouts/partials/comments/utterances.html index eb52a71..abea153 100644 --- a/layouts/partials/comments/utterances.html +++ b/layouts/partials/comments/utterances.html @@ -21,7 +21,7 @@ var owner = JSON.parse({{ $owner | jsonify }}); {{ $repo:= .Site.Params.utterances.repo }} var repo = JSON.parse({{ $repo | jsonify }}); - {{ $issueTerm:= .Site.Params.utterances.issueTerm | default 'pathname' }} + {{ $issueTerm:= .Site.Params.utterances.issueTerm | default "pathname" }} var issueTerm = JSON.parse({{ $issueTerm | jsonify }}); {{ $baseTheme:= index .Site.Params.themeOptions 0 }} var baseTheme = JSON.parse({{ $baseTheme | jsonify }});