ko/en 중복 이미지를 content/shared로 통합 - #364
Merged
Merged
Conversation
바이트가 완전히 같은 이미지 395개(약 140MB)가 content/ko와 content/en에 각각 저장돼 있었다. Hugo module mounts로 content/shared/ 하나를 두 언어 모두에 마운트해 원본을 한 벌만 남겼다. 같은 상대경로 파일이 언어별 디렉터리에도 있으면 그쪽이 우선하므로 언어별 이미지(번역 스크린샷 등)는 그대로 동작한다. sites.matrix(신형 마운트 문법)는 이 Hugo 버전(0.158.0)에서 언어별 마운트를 제대로 못 찾아 EN 사이트가 통째로 비는 문제가 있어(실측 확인), deprecated된 lang 키를 그대로 썼다.
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
요약
바이트가 완전히 같은 이미지 395개(약 140MB)가 content/ko와 content/en 양쪽에 각각 저장돼 있었다. Hugo module mounts로 content/shared/를 두 언어 모두에 마운트해 원본을 한 벌만 남겼다.
Test plan
npm run build정상 완료, 페이지/리소스 수가 변경 전과 완전히 동일<img>width/height/loading이 정상 부여되는지 직접 확인.claude/gate.sh통과 (doc-qa 링크 점검은 mount를 이해 못 해 새 자문성 경고가 늘었지만 비차단이고 빌드는 정상)