Skip to content

Conversation

disktnk
Copy link

@disktnk disktnk commented Sep 2, 2025

What does this PR change? What problem does it solve?

This pull request makes a minor update to the way the partial for fetching page images is referenced in the twitter_cards.html template. The change simplifies the partial path for consistency.

  • Updated the partial path in layouts/partials/templates/twitter_cards.html from "templates/_funcs/get-page-images" to "_funcs/get-page-images" to ensure correct partial resolution.
  • Located at the same hierarchy level and properly functioning, aligned with
    {{- with partial "_funcs/get-page-images" . }}

Was the change discussed in an issue or in the Discussions before?

No, just a bug fix PR

PR Checklist

  • This change adds/updates translations and I have used the template present here.
  • I have enabled maintainer edits for this PR.
  • I have verified that the code works as described/as intended.
  • This change adds a Social Icon which has a permissive license to use it.
  • This change does not include any CDN resources/links.
  • This change does not include any unrelated scripts such as bash and python scripts.
  • This change updates the overridden internal templates from HUGO's repository.

Copy link

sonarqubecloud bot commented Sep 2, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant