From c4994cc895cd5b0c7432fd112cbb65092dc72362 Mon Sep 17 00:00:00 2001 From: Victoria Drake Date: Mon, 22 Jun 2020 12:01:05 -0500 Subject: Un-markdownify Page titles - Prevent rendered HTML from showing up in tab and title bar for titles that use Markdown Address #219 --- layouts/partials/head/metadata.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts') diff --git a/layouts/partials/head/metadata.html b/layouts/partials/head/metadata.html index 7481c1c..fc624d2 100644 --- a/layouts/partials/head/metadata.html +++ b/layouts/partials/head/metadata.html @@ -6,7 +6,7 @@ {{ if .Site.Params.description }}{{ end }} -{{ .Title | markdownify }}{{ if ne .Title .Site.Title }} - {{ .Site.Title | markdownify }}{{ end }} +{{ .Title | humanize | title }}{{ if ne .Title .Site.Title }} - {{ .Site.Title | markdownify }}{{ end }} {{ with .OutputFormats.Get "RSS" }}{{ end }} -- cgit v1.2.3