From f86398e399c828b324db76913858173acff94a1a Mon Sep 17 00:00:00 2001 From: Michael Romero Date: Sun, 4 Jun 2017 23:14:38 -0700 Subject: [PATCH] Fix incorrect use of isset --- layouts/partials/header.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index a2c6149..2b1e43b 100644 --- a/layouts/partials/header.html +++ b/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" }}