v1.0.5: 추천 링크 모바일 이동 오류 수정
Made-with: Cursor
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# 배포 가이드
|
||||
|
||||
## 현재 버전
|
||||
- `v1.0.4`
|
||||
- `v1.0.5`
|
||||
|
||||
## Git 기본 설정
|
||||
- 저장소 작성자 정보는 아래 값으로 통일한다.
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
# 의사결정 이력
|
||||
|
||||
## 2026-04-27 v1.0.5
|
||||
Recommendations 목록 링크는 `{{#foreach recommendations}}` 컨텍스트 안에서 `{{url}}`처럼 헬퍼 이름과 충돌할 수 있는 식별자를 직접 쓰면 예상과 다르게 현재 사이트 URL로 해석될 수 있다. 모바일에서 우측 사이드바 추천 링크가 홈으로 이동하던 문제를 안정적으로 막기 위해, recommendations 필드 접근을 `{{this.url}}`, `{{this.title}}`, `{{this.favicon}}`처럼 명시 경로로 통일했다.
|
||||
|
||||
## 2026-04-27 v1.0.4
|
||||
이번 변경은 Ghost 테마 경고를 제거하고(helpers 호환성), 우측 사이드바 작성자 아바타를 고정 크기(48x48)로 안정화하며, 초기 테마 기본값을 다크 모드로 통일하는 데 목적이 있다. 특히 `img_url`의 `size="s"` 옵션은 `/size/w300/` 경로를 만들기 때문에 원본 이미지 경로를 요구하는 현재 운영 정책과 맞지 않아 제거했고, 작성자 아바타에는 `h-full` 대신 명시적 `w-12 h-12`를 적용해 텍스트 높이에 따라 이미지가 늘어나는 문제를 방지했다.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# 파일-화면 매핑 가이드
|
||||
|
||||
## 현재 버전
|
||||
- `v1.0.4`
|
||||
- `v1.0.5`
|
||||
|
||||
## 공통 레이아웃
|
||||
- [default.hbs](../default.hbs): 전체 3열 셸, 1296px 공통 폭 계산, 공통 자산 로드, 전역 공유 모달(`share-modal`) 마크업 포함
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# 기술 명세
|
||||
|
||||
## 현재 버전
|
||||
- `v1.0.4`
|
||||
- `v1.0.5`
|
||||
|
||||
## 테마 개요
|
||||
- 테마명: `Zenless Column Flow` (slug: `zenless-column-flow`)
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
# 업데이트 로그
|
||||
|
||||
## v1.0.5 - 2026-04-27
|
||||
- `package.json` 버전을 `1.0.5`로 증가.
|
||||
- `partials/recommendations.hbs`: Recommendations 목록 링크/타이틀/파비콘 바인딩을 `{{this.*}}` 명시 방식으로 수정해 모바일에서 홈으로 이동하던 잘못된 링크 해석을 보정.
|
||||
- `docs/spec.md`, `docs/map.md`, `docs/deploy.md`, `docs/history.md`, `docs/convention.md` 현재 버전을 `v1.0.5`로 동기화.
|
||||
|
||||
## v1.0.4 - 2026-04-27
|
||||
- `package.json` 버전을 `1.0.4`로 증가.
|
||||
- `assets/built/theme.js`: 로컬 저장 테마가 없을 때 기본 다크 모드를 적용하도록 초기 분기 추가.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "zenless-column-flow",
|
||||
"version": "1.0.4",
|
||||
"version": "1.0.5",
|
||||
"private": true,
|
||||
"description": "Zenless Column Flow Ghost theme for editorial three-column blogs.",
|
||||
"keywords": [
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
<ul class="flex flex-col gap-1 rounded-theme overflow-hidden" data-recommendations="">
|
||||
{{#foreach recommendations}}
|
||||
<li>
|
||||
<a class="py-1 text-[0.8rem] leading-tight flex items-center gap-2 hover:opacity-75" href="{{url}}" data-recommendation="{{id}}" target="_blank" rel="noopener">
|
||||
{{#if favicon}}
|
||||
<img class="w-[18px] h-[18px] rounded-[8px] aspect-square object-cover" src="{{favicon}}" alt="" loading="lazy" onerror="this.style.display='none'">
|
||||
<a class="py-1 text-[0.8rem] leading-tight flex items-center gap-2 hover:opacity-75" href="{{this.url}}" data-recommendation="{{this.id}}" target="_blank" rel="noopener">
|
||||
{{#if this.favicon}}
|
||||
<img class="w-[18px] h-[18px] rounded-[8px] aspect-square object-cover" src="{{this.favicon}}" alt="" loading="lazy" onerror="this.style.display='none'">
|
||||
{{/if}}
|
||||
<h3 class="font-medium line-clamp-1 text-ellipsis overflow-hidden" title="{{title}}">{{title}}</h3>
|
||||
<h3 class="font-medium line-clamp-1 text-ellipsis overflow-hidden" title="{{this.title}}">{{this.title}}</h3>
|
||||
</a>
|
||||
</li>
|
||||
{{/foreach}}
|
||||
|
||||
Reference in New Issue
Block a user