From 601ccf45e1cd9641f5917f1f2bf80920b4517e22 Mon Sep 17 00:00:00 2001 From: Todd Meinershagen Date: Sun, 25 Feb 2018 22:32:05 -0600 Subject: [PATCH] Fixing reference to site description from the [params] section of the config.toml in the site-header.html document. --- layouts/partials/site-header.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/partials/site-header.html b/layouts/partials/site-header.html index a1d3e31..df6be3d 100755 --- a/layouts/partials/site-header.html +++ b/layouts/partials/site-header.html @@ -1,4 +1,4 @@ -{{ $featured_image := .Param "featured_image" | default "images/gohugo-default-sample-hero-image.jpg" }} +{{ $featured_image := .Param.featured_image | default "images/gohugo-default-sample-hero-image.jpg" }} {{ if $featured_image }} {{/* Trimming the slash and adding absURL make sure the image works no matter where our site lives */}} {{ $featured_image := (trim $featured_image "/") | absURL }} @@ -9,7 +9,7 @@

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

- {{ with .Params.description }} + {{ with .Param.description }}

{{ . }}

@@ -25,7 +25,7 @@

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

- {{ with .Params.description }} + {{ with .Param.description }}

{{ . }}