From a36d787cf177df0649fe787c06a93a305a6eacd3 Mon Sep 17 00:00:00 2001 From: Robin Wenzel Date: Fri, 2 Mar 2018 13:57:02 +0100 Subject: [PATCH] Make Logo Optional by providing an empty string Since not every user has a nice logo at hand I find it useful to have the option to not include a logo. By default cocoa-eh would still show a 'logo' hyperlink. I would at least try to make this theme work without any basefiles given (even thoug the basic cocoa theme is available) --- layouts/partials/header.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 73b8d8e..2c49fc0 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -11,7 +11,9 @@
{{ end }}
+ {{ if ne .Site.Params.logofile "" }} + {{ end }}