Skip to content

fix: publish explicit post modification dates - #191

Merged
devy1540 merged 3 commits into
mainfrom
codex/sitemap-lastmod
Jul 19, 2026
Merged

fix: publish explicit post modification dates#191
devy1540 merged 3 commits into
mainfrom
codex/sitemap-lastmod

Conversation

@devy1540

Copy link
Copy Markdown
Owner

변경 사항

  • 전체 73개 게시글 frontmatter에 기존 date와 동일한 필수 updated를 추가했습니다.
  • 게시글 sitemap <lastmod>updated를 직접 사용하도록 변경했습니다.
  • JSON-LD의 datePublisheddateModified를 분리했습니다.
  • 신뢰할 수 없는 고정/집계 페이지의 빌드 날짜 <lastmod>를 제거했습니다.
  • 날짜 유효성 및 sitemap/JSON-LD 회귀 검사를 CI에 추가했습니다.

원인

기존 sitemap은 게시글에는 게시일을 사용하고 고정 페이지에는 매 빌드 날짜를 기록했으며, 게시글 JSON-LD에는 dateModified가 없었습니다. 또한 최종 수정일을 명시적으로 관리하는 frontmatter 필드가 없었습니다.

검증

  • npm run test:post-dates
  • npm run build
  • npm run test:sitemap-lastmod
  • npm run check:internal-links
  • npm run type-check
  • npm run lint (기존 경고 16개, 오류 0개)

기존 date 값은 변경하지 않았습니다.

@github-actions github-actions Bot added documentation Improvements or additions to documentation target: main PR targets the main branch area: content Blog post content changes area: blog Blog listing, post rendering, search, tags, or series area: i18n Localization and translations area: seo SEO metadata, prerendering, or public site metadata area: build Build, tooling, or project configuration area: ci GitHub Actions and CI configuration dependencies Dependency manifest or lockfile changes labels Jul 19, 2026
@devy1540
devy1540 merged commit 60ed57c into main Jul 19, 2026
2 checks passed
@devy1540
devy1540 deleted the codex/sitemap-lastmod branch July 19, 2026 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: blog Blog listing, post rendering, search, tags, or series area: build Build, tooling, or project configuration area: ci GitHub Actions and CI configuration area: content Blog post content changes area: i18n Localization and translations area: seo SEO metadata, prerendering, or public site metadata dependencies Dependency manifest or lockfile changes documentation Improvements or additions to documentation target: main PR targets the main branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant