Browse Source

Add missing meta description for SEO

pull/348/head
Enguerran Colson 4 years ago
parent
commit
72d8201b70
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      layouts/_default/baseof.html

+ 1
- 0
layouts/_default/baseof.html View File

@@ -6,6 +6,7 @@
{{/* NOTE: the Site's title, and if there is a page title, that is set too */}}
<title>{{ block "title" . }}{{ with .Params.Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{ end }}</title>
<meta name="viewport" content="width=device-width,minimum-scale=1">
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}">
{{ hugo.Generator }}
{{/* NOTE: For Production make sure you add `HUGO_ENV="production"` before your build command */}}
{{ if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }}

Loading…
Cancel
Save