From 289eb9eacf4132c6d727ba21e8ec592398ea9824 Mon Sep 17 00:00:00 2001 From: Paul Mougin Date: Fri, 25 Mar 2022 13:18:27 +0100 Subject: [PATCH] Add MetaData Params --- layouts/partials/head.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index c62827f..006fc95 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -8,7 +8,7 @@ } - {{ $title := .Title | default .Site.Title }} + {{ $title := $.Param "MetaTitle" | default .Title | default .Site.Title }} {{ $description := .Description | default .Site.Params.Description }} {{ $image := .Params.image | default .Site.Params.AvatarURL }} {{ $siteKeywords := .Site.Params.MetaKeywords | default (slice) }}