Skip to content

Commit

Permalink
Add author meta tag (by @ttybitnik)
Browse files Browse the repository at this point in the history
  • Loading branch information
clente committed Apr 8, 2024
1 parent 4a25d49 commit 729a354
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions layouts/partials/seo_tags.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!-- Primary Meta Tags -->
<meta name="title" content="{{ with .Title }}{{ . }}{{ else }}{{ .Site.Title }}{{ end }}" />
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}" />
<meta name="author" content="{{ with .Params.author }}{{ . }}{{ end }}" />
<meta name="keywords" content="{{ if .IsPage}}{{ range $index, $tag := .Params.tags }}{{ $tag }},{{ end }}{{ else }}{{ range $plural, $terms := .Site.Taxonomies }}{{ range $term, $val := $terms }}{{ printf "%s," $term }}{{ end }}{{ end }}{{ end }}" />

<!-- Only generate social card if: -->
Expand Down

0 comments on commit 729a354

Please sign in to comment.