Skip to content

Commit

Permalink
Add Meta description for Google Lighthouse
Browse files Browse the repository at this point in the history
See also Track3#121
  • Loading branch information
olbrew committed Jan 28, 2022
1 parent dfede1e commit 5222e11
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions layouts/partials/structured-data.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{{/* We use some Hugo built-in templates, you can find their source here: */}}
{{/* https://github.com/gohugoio/hugo/tree/master/tpl/tplimpl/embedded/templates */}}

<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end -}}" />
{{- template "_internal/schema.html" . }}
{{- template "_internal/opengraph.html" . }}
{{- template "_internal/twitter_cards.html" . }}

0 comments on commit 5222e11

Please sign in to comment.