Skip to content

Fix: seo-metadata.html uses deprecated .Page.IsNode (Hugo 0.163+) - #600

Merged
yada merged 1 commit into
microcks:masterfrom
aniket866:fix/PageisNode
Oct 8, 2026
Merged

yada merged 1 commit into
microcks:masterfrom
aniket866:fix/PageisNode

Conversation

@aniket866

Copy link
Copy Markdown
Contributor

Closes #591

Signed-off-by: aniket866 <iamaniketkumarmaner@gmail.com>
@yada yada added the component/rendering Relates to rendering engine and dependencies label Oct 8, 2026

@yada yada left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @aniket866! I tested this with Hugo v0.166.0.

  • The .Page.IsNode deprecation warning is gone, and there are no other IsNode uses in layouts/ or themes/.
  • I diffed every <link rel="canonical"> between master and this branch, including paginated pages (/page/2/, /blog/page/2/), section lists, the home page and single pages. There are no differences.
  • not .IsPage is equivalent to .IsNode here, and it is the replacement Hugo recommends.

LGTM 👍

@yada
yada merged commit 1a7b031 into microcks:master Oct 8, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component/rendering Relates to rendering engine and dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

seo-metadata.html uses deprecated .Page.IsNode (Hugo 0.163+)

2 participants