Skip to content

Add anchor link to Comments heading#166

Merged
alamb merged 1 commit intoapache:mainfrom
kevinjqliu:kevinjqliu/add-anchor-to-comments
Mar 31, 2026
Merged

Add anchor link to Comments heading#166
alamb merged 1 commit intoapache:mainfrom
kevinjqliu:kevinjqliu/add-anchor-to-comments

Conversation

@kevinjqliu
Copy link
Copy Markdown
Contributor

Add a headerlink anchor to the Comments <h3>, matching the style used by all other blog post headings (hover to reveal ¶ permalink).

  • Moved id="comments" from the wrapper <div> to the <h3> to preserve the #comments page anchor
  • Enables direct linking to the comments section via #comments

Tested locally:
http://localhost:8000/blog/2026/03/20/limit-pruning/#comments
Screenshot 2026-03-28 at 4 25 32 PM

@kevinjqliu
Copy link
Copy Markdown
Contributor Author

trying to revive the giscus conversation (#80) with asf 😄

Copy link
Copy Markdown
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Thanks @kevinjqliu

I tried it out locally and it works great

Image

@alamb alamb merged commit f3a9a2c into apache:main Mar 31, 2026
4 checks passed
@kevinjqliu kevinjqliu deleted the kevinjqliu/add-anchor-to-comments branch March 31, 2026 18:04
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.

2 participants