From 5bf3497d8954bf73159f3a9d54aedf370421e759 Mon Sep 17 00:00:00 2001 From: Avinash Sonawane Date: Sat, 3 Feb 2018 13:30:43 +0000 Subject: [PATCH] Fix incorrect use of isset --- themes/beautifulhugo/layouts/partials/header.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/themes/beautifulhugo/layouts/partials/header.html b/themes/beautifulhugo/layouts/partials/header.html index a2c6149..2b1e43b 100644 --- a/themes/beautifulhugo/layouts/partials/header.html +++ b/themes/beautifulhugo/layouts/partials/header.html @@ -10,12 +10,12 @@ {{ $bigimg := $.Scratch.Get "bigimg" }} {{ if or $bigimg ($.Scratch.Get "title") }} - {{ if isset $bigimg 0 }} + {{ if $bigimg }}
{{ end }} -
- {{ if isset $bigimg 0 }} +
+ {{ if $bigimg }}
{{ $subtitle := $.Scratch.Get "subtitle" }}