more cleanup

This commit is contained in:
Luke Smith
2022-07-11 09:15:28 -04:00
parent 43ff3f0921
commit 58e91fcee3
5 changed files with 51 additions and 53 deletions

View File

@@ -9,11 +9,14 @@
{{ with .Site.Params.favicon }}<link rel="icon" href="{{ . }}">
{{ end -}}
<meta name="description" content="{{ with .Params.description }}{{ . }}{{ else }}{{ .Summary }}{{ end }}">
<meta name="keywords" content="{{ with .Params.tags }}{{ delimit . ", " }}{{ end }}">
{{ if isset .Params "tags" }}<meta name="keywords" content="{{ with .Params.tags }}{{ delimit . ", " }}{{ end }}">
{{ end -}}
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="index, follow">
<meta charset="utf-8">
</head>
<body>
{{- partial "nav.html" . -}}
{{ if .Site.Menus.main -}}
{{ partial "nav.html" . }}
{{ end -}}
<main>