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

[Bug] opengraph partial ld+json never activated #475

Closed
4 tasks done
barefootstache opened this issue Sep 9, 2024 · 0 comments · Fixed by #476
Closed
4 tasks done

[Bug] opengraph partial ld+json never activated #475

barefootstache opened this issue Sep 9, 2024 · 0 comments · Fixed by #476
Labels
bug Something isn't working

Comments

@barefootstache
Copy link
Contributor

I confirm:

Hugo version

hugo v0.121.2+extended linux/amd64 BuildDate=2024-02-07T00:00:00+00:00 VendorInfo=Fedora:0.121.2-1.fc40

Where is this bug showing up?

In the browser: Hugo builds the site, but something doesn't look right.

Operating system

Fedora 40

Browser (if applicable)

No response

Current behavior

The meta section regarding <script type="application/ld+json"> is never being initialized.

Expected behavior

The meta section regarding <script type="application/ld+json"> should be initialized.

Steps to reproduce

  1. Choose any page that should belong to the blog section.
  2. Investigate the head of the HTML and see if <script type="application/ld+json"> is present.

Relevant log output

No response

Related code

Files:

  • layouts/partials/opengraph.html
  • exampleSite/config/_default/params.toml

Preferred solution

Pull request will be created shortly to resolve this issue.

Other information

No response

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

Successfully merging a pull request may close this issue.

1 participant