From b069e9f48a69277e76d12c383381321e2ee691bb Mon Sep 17 00:00:00 2001 From: Benjamin Patch Date: Sat, 14 Mar 2020 16:18:53 -0400 Subject: add page title to title tag --- layouts/partials/head.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 54e9c9d..f9d3910 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,6 +1,12 @@ -{{ .Site.Title }} + + + {{ block "title" . }} + {{ with .Params.Title }} {{ . }} | {{ end }} + {{ .Site.Title }} + {{ end }} + {{- if .Description -}} -- cgit v1.2.3