Update variables names to camelCase format for consistency (#473)

This commit is contained in:
Clément Pannetier
2020-11-04 18:28:31 +01:00
committed by GitHub
parent 0ff1b0fb4c
commit c5fbd48e91
15 changed files with 48 additions and 48 deletions

View File

@@ -1,4 +1,4 @@
{{- if and (isset .Site.Params "commentourl") (not (eq .Site.Params.commentoUrl "" )) (eq (.Params.disable_comments | default false) false) -}}
{{- if and (isset .Site.Params "commentourl") (not (eq .Site.Params.commentoURL "" )) (eq (.Params.disableComments | default false) false) -}}
<div id="commento"></div>
<script src="{{ .Site.Params.commentoUrl }}/js/commento.js"></script>
<script src="{{ .Site.Params.commentoURL }}/js/commento.js"></script>
{{- end -}}

View File

@@ -1,3 +1,3 @@
{{- if and (not (eq (.Site.DisqusShortname | default "") "")) (eq (.Params.disable_comments | default false) false) -}}
{{- if and (not (eq (.Site.DisqusShortname | default "") "")) (eq (.Params.disableComments | default false) false) -}}
{{ template "_internal/disqus.html" . }}
{{- end -}}

View File

@@ -12,7 +12,7 @@
{{ range first (add $maxItems 1) $series.Pages }}
{{ if ne .RelPermalink $currentPageUrl }}
<li>
<a href="{{ .Params.ExternalLink | default .RelPermalink }}">{{ .Title }}</a>
<a href="{{ .Params.externalLink | default .RelPermalink }}">{{ .Title }}</a>
</li>
{{ end }}
{{ end }}