chipzoller / hugo-clarity

A theme for Hugo based on VMware Clarity
Other
582 stars 267 forks source link

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

Closed barefootstache closed 1 month ago

barefootstache commented 2 months ago

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:

Preferred solution

Pull request will be created shortly to resolve this issue.

Other information

No response