fix: fix character constant "pathname"
when setting default for the configuration item Params.utterances.issueTerm, "pathname" should be used.
This commit is contained in:
parent
64d4afb610
commit
9bd967fd76
|
@ -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 }});
|
||||
|
|
Loading…
Reference in New Issue