diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 579c5f9..93d64a7 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -30,3 +30,4 @@ enableRobotsTXT = true background_color_class = "bg-black" featured_image = "/images/gohugo-default-sample-hero-image.jpg" recent_posts_number = 2 + titleImage = "" diff --git a/layouts/partials/site-header.html b/layouts/partials/site-header.html index 0b9649e..0cd2919 100755 --- a/layouts/partials/site-header.html +++ b/layouts/partials/site-header.html @@ -3,14 +3,14 @@ {{/* Trimming the slash and adding absURL make sure the image works no matter where our site lives */}} {{ $featured_image := (trim $featured_image "/") | absURL }}
-
+
{{ partial "site-navigation.html" .}}
-

+

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

{{ with .Params.description }} -

+

{{ . }}

{{ end }} @@ -22,11 +22,11 @@
{{ partial "site-navigation.html" . }}
-

+

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

{{ with .Params.description }} -

+

{{ . }}

{{ end }} diff --git a/layouts/partials/site-navigation.html b/layouts/partials/site-navigation.html index 65b82de..a0a2942 100644 --- a/layouts/partials/site-navigation.html +++ b/layouts/partials/site-navigation.html @@ -1,14 +1,18 @@