Skip to content

Conversation

@Srinu346
Copy link
Contributor

@Srinu346 Srinu346 commented Jan 1, 2026

Related Tickets & Documents

Fixes: #3442

Description

  • Updated the "Authored By:" and "Reviewed By:" headings in the table of contents to include the actual author and reviewer names
  • This improvement makes it easier for readers to identify who authored and reviewed the post directly from the table of contents without scrolling down

Changes

  • Modified post-body.tsx to include author name in the "Authored By:" heading (e.g., "Authored By: John Doe" instead of just "Authored By:")
  • Modified post-body.tsx to include reviewer name in the "Reviewed By:" heading (e.g., "Reviewed By: Jane Smith" instead of just "Reviewed By:")
  • The table of contents now automatically displays these headings with names included since it scans for all h1 headings

Type of Change

  • Chore (maintenance, refactoring, tooling updates)
  • Bug fix (non-breaking change that fixes an issue)
  • New feature (change that adds functionality)
  • Breaking Change (may require updates in existing code)
  • UI improvement (visual or design changes)
  • Performance improvement (optimization or efficiency enhancements)
  • Documentation update (changes to README, guides, etc.)
  • CI (updates to continuous integration workflows)
  • Revert (undo a previous commit or merge)

Testing

  • Tested on technology/[slug] pages to verify author and reviewer names appear in the table of contents
  • Tested on community/[slug] pages to verify author and reviewer names appear in the table of contents

Demo

  • Before
image
  • After
image -

Environment and Dependencies

  • New Dependencies: None - no new packages or libraries added
  • Configuration Changes: None required

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added corresponding tests
  • I have run the build command to ensure there are no build errors
  • My changes have been tested across relevant browsers/devices
  • For UI changes, I've included visual evidence of my changes

Signed-off-by: Akella Srinivas <alsrinivas.346@gmail.com>
@Srinu346 Srinu346 changed the title Add author and reviewer details in table of content [blogs-website]: Add author and reviewer details in table of content Jan 1, 2026
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.

[blog-website]: Author and Reviewer names not appearing in Table of Contents

1 participant