Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kakawait/hugo-tranquilpeak-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibaud LeprĂȘtre <thibaud.lepretre@gmail.com>2016-12-04 13:28:39 +0300
committerThibaud LeprĂȘtre <thibaud.lepretre@gmail.com>2016-12-04 13:28:39 +0300
commit8d0833dc6d84b765a5f5a0520ca08b883ee7477f (patch)
treec97e11172dd1d3b41083461ed43f14c1b02a65cd /layouts/_default
parentdfb55b0f22f5dfd631655a137754e8fd288585c2 (diff)
Uniformise config key case
Use camelCase over snake_case to be more consistant with Hugo Style and fontmatter closes #25
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/summary.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html
index 4690ed4..d450549 100644
--- a/layouts/_default/summary.html
+++ b/layouts/_default/summary.html
@@ -1,8 +1,8 @@
-{{ if .Site.Params.thumbnail_image }}
+{{ if .Site.Params.thumbnailImage }}
{{ if .Params.thumbnailimage }}
{{ .Scratch.Set "thumbnailImage" (.Params.thumbnailimage | absURL) }}
{{ else }}
- {{ if or .Params.autothumbnailimage (and .Site.Params.auto_thumbnail_image (ne .Params.autothumbnailimage false)) }}
+ {{ if or .Params.autothumbnailimage (and .Site.Params.autoThumbnailImage (ne .Params.autothumbnailimage false)) }}
{{ if .Params.gallery }}
{{ range first 1 .Params.gallery }}
{{ range first 1 (split . " ") }}