mirror of https://github.com/lxndrblz/anatole.git

Alexander Bilz
21.13.2021 96483e4b5a4f945d7e992c416761496b4ef15e8c
fix: organization name

1 files modified
3 ■■■■ changed files
layouts/partials/schema.html 3 ●●●● patch | view | raw | blame | history
layouts/partials/schema.html
@@ -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">
    {
@@ -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",