Skip to content

refactor: use native Vocs blog directives#10

Merged
EmperorOrokuSaki merged 2 commits intomainfrom
refactor/use-vocs-blog-directives
Mar 20, 2026
Merged

refactor: use native Vocs blog directives#10
EmperorOrokuSaki merged 2 commits intomainfrom
refactor/use-vocs-blog-directives

Conversation

@EmperorOrokuSaki
Copy link
Member

Summary

  • Replace custom PostsList component with Vocs's built-in ::blog-posts directive for auto-generated post listing
  • Add layout: minimal to blog posts per Vocs blog conventions
  • Remove non-standard frontmatter fields (cover, authorImg, tags) from blog posts
  • Delete docs/components/PostsList.tsx (no longer needed)

Test plan

  • Verify /posts page renders the blog post list via ::blog-posts
  • Verify individual blog posts render correctly with layout: minimal
  • Verify ::authors directive still displays author info on posts
  • Verify homepage landing page is unaffected

🤖 Generated with Claude Code

Replace custom PostsList component with Vocs's built-in ::blog-posts
directive and align blog post frontmatter with Vocs conventions.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions
Copy link

github-actions bot commented Mar 20, 2026

PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-03-20 02:15 UTC

Keep custom PostsList with tag filtering, cover images, and author
avatars. Add layout: minimal to all post pages to remove the docs-style
sidebar. Remove sidebar config from vocs.config.tsx.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@EmperorOrokuSaki EmperorOrokuSaki merged commit 7f70f7e into main Mar 20, 2026
1 check passed
@EmperorOrokuSaki EmperorOrokuSaki deleted the refactor/use-vocs-blog-directives branch March 20, 2026 02:15
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