Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty author details in schema (meta) #9

Closed
flytomek opened this issue Sep 28, 2024 · 1 comment
Closed

Empty author details in schema (meta) #9

flytomek opened this issue Sep 28, 2024 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@flytomek
Copy link

flytomek commented Sep 28, 2024

In src/Resources/views/storefront/layout/meta.html.twig there's a property entry.author.translated.name to display author name in schema:

          "author": {
                "@type": "Person",
                "name": "{{ entry.author.translated.name }}"
            },

But property entry.author doesn't exist:
Zrzut ekranu 2024-09-28 o 08 19 38

I think this reference should be to entry.blogAuthor, however this property is null.

@7underlines 7underlines added bug Something isn't working good first issue Good for newcomers labels Sep 30, 2024
@7underlines
Copy link
Member

Fixed with v4.1.4.
908991f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants