aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default/baseof.html
diff options
context:
space:
mode:
authorJulien Dessaux2021-09-13 14:32:52 +0200
committerJulien Dessaux2021-09-13 14:32:52 +0200
commit53ea0bd15fa2281b040d191a5efc16266b54e0de (patch)
tree1ca1d964bb5b5202e55394127bf95d59d446a910 /layouts/_default/baseof.html
parentTags overhaul to improve search results, and some light rewording or reformating (diff)
downloadwww-53ea0bd15fa2281b040d191a5efc16266b54e0de.tar.gz
www-53ea0bd15fa2281b040d191a5efc16266b54e0de.tar.bz2
www-53ea0bd15fa2281b040d191a5efc16266b54e0de.zip
Fixed google's lighthouse seo warnings
missing description meta tag tap targets too small (menu items did not have margins)
Diffstat (limited to '')
-rw-r--r--layouts/_default/baseof.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 07920c1..5faf4e4 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -23,7 +23,7 @@
{{ end -}}
<title>{{ $title }}</title>
- <meta name="description" content="">
+ <meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}">
</head>
<body>
{{- partial "nav.html" . -}}