Skip to content

refactor: /blog Latest 섹션을 최근 5개로 제한 - #22

Merged
jwsung91 merged 1 commit into
mainfrom
refactor/blog-index-trim-latest
Jul 4, 2026
Merged

refactor: /blog Latest 섹션을 최근 5개로 제한#22
jwsung91 merged 1 commit into
mainfrom
refactor/blog-index-trim-latest

Conversation

@jwsung91

@jwsung91 jwsung91 commented Jul 3, 2026

Copy link
Copy Markdown
Owner

Summary

여러 종류의 글이 /blog 한 페이지에 어떻게 배치되는지 검토한 결과 반영:

  • 기존 "Latest" 섹션이 발행된 글 전체(25편)를 flat list로 보여줘서, 바로 위 Study Notes(7편)·Site Notes(2편) 전체와 100% 중복되고, Project Docs에서 카드로만 요약된 프로젝트 글(unilink 14편+ai-curator 2편)까지 개별 노출되고 있었음
  • 글이 늘어날수록 이 섹션만 무한정 길어지는 구조라서, 최근 5개로 캡

Test plan

  • npm run check 통과
  • 빌드 결과에서 Latest 섹션 항목 수가 5개인지 확인
  • Playwright로 프리뷰 빌드 전체 페이지 스크린샷 확인 — 페이지 길이 대폭 축소, 레이아웃 정상

Note

현재는 최근 활동이 전부 LLM study 글이라 Study Notes와 Latest의 상위 5개가 우연히 겹치는데, 콘텐츠 종류가 다양해지면 자연히 해소되는 부분입니다.

🤖 Generated with Claude Code

Latest rendered all published posts in a flat list, which fully
duplicated Study Notes and Site Notes (already listed in full just
above) and re-listed every project post that Project Docs only
summarized as a card. As the archive grows this section would keep
growing unbounded and the curated sections above it would lose their
point. Cap it to the 5 most recent posts across all categories —
still gives a chronological pulse without becoming a second full
archive on the same page.
@jwsung91
jwsung91 merged commit cbc9665 into main Jul 4, 2026
2 checks passed
@jwsung91
jwsung91 deleted the refactor/blog-index-trim-latest branch July 4, 2026 00:26
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