From c5fbd48e918a6f43281ee4bb81c9b25922fe7758 Mon Sep 17 00:00:00 2001
From: Clément Pannetier <35581688+clement-pannetier@users.noreply.github.com>
Date: Wed, 04 Nov 2020 17:28:31 +0000
Subject: [PATCH] Update variables names to camelCase format for consistency (#473)
---
layouts/posts/single.html | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/layouts/posts/single.html b/layouts/posts/single.html
index 0f38237..930f6d2 100644
--- a/layouts/posts/single.html
+++ b/layouts/posts/single.html
@@ -28,8 +28,8 @@
</header>
<div>
- {{ if .Params.featured_image }}
- <img src='{{ .Params.featured_image }}' alt="Featured image"/>
+ {{ if .Params.featuredImage }}
+ <img src='{{ .Params.featuredImage }}' alt="Featured image"/>
{{ end }}
{{ .Content }}
</div>
--
Gitblit v1.10.0