theme: 태그 페이지 헤더 렌더링 보정

Made-with: Cursor
This commit is contained in:
2026-04-16 19:03:28 +09:00
parent f35f0b155e
commit 21099b53c9
7 changed files with 17 additions and 11 deletions

File diff suppressed because one or more lines are too long

View File

@@ -1,7 +1,7 @@
# 배포 가이드
## 현재 버전
- `v0.2.1`
- `v0.2.2`
## Git 기본 설정
- 저장소 작성자 정보는 아래 값으로 통일한다.

View File

@@ -1,7 +1,7 @@
# 파일-화면 매핑 가이드
## 현재 버전
- `v0.2.1`
- `v0.2.2`
## 공통 레이아웃
- [default.hbs](/Users/bicute/Desktop/UGREEN/GHOST%20THEME/default.hbs): 전체 3열 셸, 1296px 공통 폭 계산, 공통 자산 로드

View File

@@ -1,7 +1,7 @@
# 기술 명세
## 현재 버전
- `v0.2.1`
- `v0.2.2`
## 테마 개요
- Ghost `v5` 대응 커스텀 테마

View File

@@ -1,5 +1,9 @@
# 업데이트 로그
## v0.2.2 - 2026-04-16
- `package.json` 버전을 `0.2.2`로 증가.
- `tag.hbs` 태그 제목/설명(`name`, `description`)이 항상 렌더링되도록 `{{#tag}}` 컨텍스트를 명시 적용.
## v0.2.1 - 2026-04-16
- `package.json` 버전을 `0.2.1`로 증가.
- `routes.yaml.example`에서 `/authors/` 커스텀 라우트를 제거.

View File

@@ -1,6 +1,6 @@
{
"name": "ghost-theme-thred-clone",
"version": "0.2.1",
"version": "0.2.2",
"private": true,
"description": "A Ghost theme inspired by the Thred reference layout.",
"keywords": [

14
tag.hbs
View File

@@ -3,12 +3,14 @@
<main class="flex-2 max-w-content">
<section class="px-5 sm:px-6 pt-4 sm:pt-5">
<div class="max-w-content mx-auto flex flex-col items-center sm:flex-row gap-4 justify-between border-b border-brd pb-4 sm:pb-5">
<div class="flex-3 flex flex-col gap-1">
<h1 class="text-lg sm:text-xl font-medium leading-tight">{{name}}</h1>
{{#if description}}
<p class="text-sm text-typ-tone max-w-lg text-balance">{{description}}</p>
{{/if}}
</div>
{{#tag}}
<div class="flex-3 flex flex-col gap-1">
<h1 class="text-lg sm:text-xl font-medium leading-tight">{{name}}</h1>
{{#if description}}
<p class="text-sm text-typ-tone max-w-lg text-balance">{{description}}</p>
{{/if}}
</div>
{{/tag}}
</div>
{{> "lists/post-feed"}}
</section>