Skip to content

Commit

Permalink
fix: organization name
Browse files Browse the repository at this point in the history
  • Loading branch information
lxndrblz committed Jul 21, 2021
1 parent 3ce92e4 commit 96483e4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions layouts/partials/schema.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

{{ else if .IsPage }}
{{ $author := or (.Params.author) (.Site.Params.author) }}
{{ $org_name := .Site.Title }}
{{ $favicon := .Site.Params.favicon | absURL }}
<script type="application/ld+json">
{
Expand Down Expand Up @@ -62,7 +61,7 @@
"dateModified": "{{ .Lastmod.Format "2006-01-02T15:04:05.00Z" | safeHTML }}",
"publisher":{
"@type":"Organization",
"name": {{ $org_name }},
"name": {{ $author }},
"url": {{ .Site.BaseURL }},
"logo": {
"@type": "ImageObject",
Expand Down

0 comments on commit 96483e4

Please sign in to comment.