@roottale/cms-renderer-next 0.59.0 → 0.60.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 CHANGED
@@ -1,5 +1,19 @@
1
1
  # @roottale/cms-renderer-next
2
2
 
3
+ ## 0.60.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 819f01c: 작성자 사진의 초점 좌표를 작성자 콘텐츠에 두고 공개 글 렌더러가 이를 적용합니다.
8
+ 공통 글 하단 블록이 없는 기존 사이트에서는 레거시 CTA를 계속 렌더해 화면을 보존하며,
9
+ 사이트맵·이미지 모양 같은 사이트 표현은 프로젝트의 시멘틱 토큰과 코드가 소유합니다.
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies [819f01c]
14
+ - @roottale/cms-client@0.60.0
15
+ - @roottale/cms-core@0.60.0
16
+
3
17
  ## 0.59.0
4
18
 
5
19
  ### 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.
@@ -938,7 +938,7 @@
938
938
  margin: 0;
939
939
  }
940
940
 
941
- /* 글 하단 고정 CTA — 본문 끝 리드 전환 블록. */
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) ids.push("authors");
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.59.0" : "dev",
930
+ cms_renderer: true ? "0.60.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" } }