From 5dd7ec5263b025a61b9e1e3f998d1feac39a5db0 Mon Sep 17 00:00:00 2001 From: Nishant Srivastava Date: Tue, 3 Mar 2020 23:02:51 +0100 Subject: [PATCH] remove the if staments --- layouts/partials/head/meta.html | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/layouts/partials/head/meta.html b/layouts/partials/head/meta.html index 5e5fc68..1993d0b 100644 --- a/layouts/partials/head/meta.html +++ b/layouts/partials/head/meta.html @@ -2,14 +2,11 @@ {{ end }} -{{ if isset .Params "keywords" }} - {{ with $.Params.keywords }} - - {{ end }} -{{ else if isset .Params "tags" }} - {{ with $.Params.tags }} - - {{ end }} +{{ with $.Params.keywords }} + +{{ end }} +{{ with $.Params.tags }} + {{ end }}