@roottale/cms-renderer-next 0.59.0 → 0.61.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +28 -0
- package/README.md +5 -0
- package/dist/cms-public.css +2 -1
- package/dist/routes.js +4 -2
- package/dist/routes.js.map +1 -1
- package/dist/server.js +29 -20
- package/dist/server.js.map +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# @roottale/cms-renderer-next
|
|
2
2
|
|
|
3
|
+
## 0.61.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 공통 에디터의 글씨 크기·서식 초기화·줄간격·문단 간격·이미지 너비·정렬·사진 설명을
|
|
8
|
+
저장하고 공개 글에 출력합니다. ROOT-ADMIN에서 선택한 내용을 사이트 공통 블록으로
|
|
9
|
+
저장하고 독립 복사본으로 재사용할 수 있습니다.
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
- @roottale/cms-core@0.61.0
|
|
15
|
+
- @roottale/cms-client@0.61.0
|
|
16
|
+
|
|
17
|
+
## 0.60.0
|
|
18
|
+
|
|
19
|
+
### Minor Changes
|
|
20
|
+
|
|
21
|
+
- 819f01c: 작성자 사진의 초점 좌표를 작성자 콘텐츠에 두고 공개 글 렌더러가 이를 적용합니다.
|
|
22
|
+
공통 글 하단 블록이 없는 기존 사이트에서는 레거시 CTA를 계속 렌더해 화면을 보존하며,
|
|
23
|
+
사이트맵·이미지 모양 같은 사이트 표현은 프로젝트의 시멘틱 토큰과 코드가 소유합니다.
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- Updated dependencies [819f01c]
|
|
28
|
+
- @roottale/cms-client@0.60.0
|
|
29
|
+
- @roottale/cms-core@0.60.0
|
|
30
|
+
|
|
3
31
|
## 0.59.0
|
|
4
32
|
|
|
5
33
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -183,6 +183,11 @@ export default async function PostPage({
|
|
|
183
183
|
already renders that title, pass `showTitle={false}` to avoid a duplicate
|
|
184
184
|
heading. The excerpt, post metadata, and body remain visible.
|
|
185
185
|
|
|
186
|
+
작성자 사진 초점은 글에 연결된 작성자 콘텐츠 값을 적용하고, 이미지 모양은 사이트의
|
|
187
|
+
시멘틱 토큰/CSS가 정합니다. 글 하단 공통 블록(`post_footer`)이 있으면 그 블록을,
|
|
188
|
+
없으면 기존 사이트의 레거시 `postCta`를 렌더하므로 이전 과정에서도 고객 화면이
|
|
189
|
+
사라지거나 두 번 표시되지 않습니다.
|
|
190
|
+
|
|
186
191
|
Fetch the post in the route and call Next.js `notFound()` before rendering, as
|
|
187
192
|
shown above. `notFoundElement` only changes the component fallback; it cannot
|
|
188
193
|
turn a successful route response into an HTTP 404.
|
package/dist/cms-public.css
CHANGED
|
@@ -938,7 +938,7 @@
|
|
|
938
938
|
margin: 0;
|
|
939
939
|
}
|
|
940
940
|
|
|
941
|
-
/*
|
|
941
|
+
/* 공통 블록 이전을 마치지 않은 사이트의 글 하단 CTA. */
|
|
942
942
|
[data-roottale-cms] :where(.rt-cms-post-cta) {
|
|
943
943
|
max-inline-size: var(--rt-cms-measure, 42.5rem);
|
|
944
944
|
margin-inline: auto;
|
|
@@ -1377,6 +1377,7 @@
|
|
|
1377
1377
|
[data-roottale-cms] :where(.rt-cms-article:has(.rt-cms-layout--toc-side) .rt-cms-post-header),
|
|
1378
1378
|
[data-roottale-cms] :where(.rt-cms-article:has(.rt-cms-layout--toc-side) .rt-cms-author-card),
|
|
1379
1379
|
[data-roottale-cms] :where(.rt-cms-article:has(.rt-cms-layout--toc-side) .rt-cms-post-cta),
|
|
1380
|
+
[data-roottale-cms] :where(.rt-cms-article:has(.rt-cms-layout--toc-side) .rt-cms-post-cta),
|
|
1380
1381
|
[data-roottale-cms] :where(.rt-cms-article:has(.rt-cms-layout--toc-side) .rt-cms-related),
|
|
1381
1382
|
[data-roottale-cms] :where(.rt-cms-article:has(.rt-cms-layout--toc-side) .rt-archive-related),
|
|
1382
1383
|
[data-roottale-cms] :where(.rt-cms-article:has(.rt-cms-layout--toc-side) .rt-archive-facts) {
|
package/dist/routes.js
CHANGED
|
@@ -485,7 +485,9 @@ function createSitemapIndex(config, staticRoutes = [], opts = {}) {
|
|
|
485
485
|
opts
|
|
486
486
|
);
|
|
487
487
|
const ids = ["static", "blog", "categories"];
|
|
488
|
-
if (settings.authors || settingsFetchFailed
|
|
488
|
+
if (settings.authors || settingsFetchFailed && opts.authors === void 0) {
|
|
489
|
+
ids.push("authors");
|
|
490
|
+
}
|
|
489
491
|
return ids.map((id) => ({ id }));
|
|
490
492
|
}
|
|
491
493
|
async function sitemap(props) {
|
|
@@ -925,7 +927,7 @@ function createFleetInfoRoute(config = {}) {
|
|
|
925
927
|
site: config.site ?? env.VERCEL_PROJECT_PRODUCTION_URL ?? null,
|
|
926
928
|
framework: "next",
|
|
927
929
|
cms_client: CMS_CLIENT_VERSION,
|
|
928
|
-
cms_renderer: true ? "0.
|
|
930
|
+
cms_renderer: true ? "0.61.0" : "dev",
|
|
929
931
|
build_sha: env.VERCEL_GIT_COMMIT_SHA?.slice(0, 7) ?? null
|
|
930
932
|
},
|
|
931
933
|
{ headers: { "cache-control": "public, max-age=300" } }
|