From e76efc7ac5de0d1eda36e871f75a79419dd7ad90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20N=C3=A1jera?= Date: Mon, 5 Feb 2018 10:50:36 -0500 Subject: [PATCH] Add support for logo in main Site-header --- layouts/partials/site-header.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/layouts/partials/site-header.html b/layouts/partials/site-header.html index a1d3e31..ae553cf 100755 --- a/layouts/partials/site-header.html +++ b/layouts/partials/site-header.html @@ -6,9 +6,13 @@
{{ partial "site-navigation.html" .}}
+ {{ if .Site.Params.logo }} + {{ .Title | default .Site.Title }} + {{ else }}

{{ .Title | default .Site.Title }}

+ {{ end }} {{ with .Params.description }}

{{ . }}