Skip to content

Hide tags and “Edit this page” section on blog post pages#1651

Draft
Copilot wants to merge 2 commits into
mainfrom
copilot/remove-tags-and-edit-option
Draft

Hide tags and “Edit this page” section on blog post pages#1651
Copilot wants to merge 2 commits into
mainfrom
copilot/remove-tags-and-edit-option

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 22, 2026

Description

Blog post pages were still rendering the default Docusaurus footer block (tags + edit link) at the bottom, which conflicted with the intended custom post footer. This change removes that block from full blog post pages only.

Type of Change

  • New feature (e.g., new page, component, or functionality)
  • Bug fix (non-breaking change that fixes an issue)
  • UI/UX improvement (design, layout, or styling updates)
  • Performance optimization (e.g., code splitting, caching)
  • Documentation update (README, contribution guidelines, etc.)
  • Other (please specify):

Changes Made

  • Footer render gating

    • Updated src/theme/BlogPostItem/Footer/index.tsx to skip BlogPostItemFooterOriginal when isBlogPostPage is true.
    • This removes the “Tags” row and “Edit this page” link from individual blog post pages while preserving existing behavior in non-post contexts.
  • Minimal, scoped change

    • No structural refactors, styling rewrites, or dependency changes.
    • Existing custom footer content (social share, author card, comments) remains unchanged.
return (
  <>
    {!isBlogPostPage && <BlogPostItemFooterOriginal {...props} />}
    {isBlogPostPage && (
      <SocialShare permalink={metadata.permalink} title={metadata.title} />
    )}
    ...
  </>
);

Dependencies

  • No new dependencies.
  • No version or configuration changes.

Checklist

  • My code follows the style guidelines of this project.
  • I have tested my changes across major browsers and devices
  • My changes do not generate new console warnings or errors .
  • I ran npm run build and attached screenshot(s) in this PR.
  • This is already assigned Issue to me, not an unassigned issue.

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 22, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
recode-website Ready Ready Preview, Comment May 22, 2026 3:53pm

Copilot AI changed the title [WIP] Remove tags and edit this page option from blog pages Hide tags and “Edit this page” section on blog post pages May 22, 2026
Copilot AI requested a review from sanjay-kv May 22, 2026 15:54
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.

remove the tags and edit this page option

2 participants