Skip to content

Commit

Permalink
Merge pull request #85 from timfanda35/features/update_description
Browse files Browse the repository at this point in the history
feat(seo): update description
  • Loading branch information
timfanda35 authored Feb 25, 2024
2 parents b3bd318 + f7b707f commit 073e5dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/simplecss/layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<meta http-equiv="X-UA-Compatible" content="ie=edge,chrome=1">
<title>{{ .Title }}{{ if not .IsHome }} &middot; {{ .Site.Title }}{{ end }}{{ if .IsHome }} - {{ with .Site.Params.description }} {{ . }} {{ end }}{{ end }}</title>
{{ hugo.Generator }}
{{ with .Site.Params.description }}<meta name="description" content="{{ . }}"> {{ end }}
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end -}}" />

{{ template "_internal/twitter_cards.html" . }}
{{ template "_internal/opengraph.html" . }}
Expand Down

0 comments on commit 073e5dd

Please sign in to comment.