From fd4a9767aed433d9eb33536d01d598ab253cd179 Mon Sep 17 00:00:00 2001 From: Alexis Tacnet Date: Thu, 7 Sep 2017 09:21:19 +0200 Subject: [PATCH] Add small_banner_logo parameter to disable big logo --- exampleSite/config.toml | 1 + layouts/partials/header.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 6224b31..07146d6 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -36,6 +36,7 @@ usesmallsummarycard = true posts_navigation = true # issoHost = "comments.domain.tld:1234" # githubRepo = "githubUsername/repositoryName" +small_banner_logo = false [params.colors] identifier = "#527fc1f" diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 99dff7e..6b5d39f 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -5,7 +5,7 @@ -{{ if .IsPage }} +{{ if or (.Site.Params.small_banner_logo) (.IsPage) }}
{{ else }}