From d26ecb989f5e5b9e06b34c106a3d391fd2910524 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Tue, 20 Sep 2022 22:35:52 +0530 Subject: First commit --- layouts/partials/head.html | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 layouts/partials/head.html (limited to 'layouts/partials/head.html') diff --git a/layouts/partials/head.html b/layouts/partials/head.html new file mode 100644 index 0000000..565da2b --- /dev/null +++ b/layouts/partials/head.html @@ -0,0 +1,30 @@ + + + + + + + + {{- if eq .Type "page" -}} + + + + {{ if .Title }}{{ .Title }}{{ else }}{{ .Site.Title }}{{ end }} + {{ else if eq .Type "blog"}} + + + + + {{ .Title }} - {{ .Site.Params.blogTitle }} + {{ else if eq .Type "lists"}} + + + + {{ .Title }} - {{ .Site.Params.listsTitle }} + {{ else if eq .Type "docs"}} + + + + {{ .Title }} - {{ .Site.Params.docsTitle }} + {{ end }} + -- cgit v1.2.3