@rmdes/indiekit-endpoint-site-config 1.0.0-beta.8 → 1.0.0-beta.9

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.
@@ -9,7 +9,7 @@ const VALID_LAYOUTS = new Set(["single-column", "two-column", "full-width-hero"]
9
9
 
10
10
  // Hero "read more" CTA: accept a root-relative path or absolute URL, else fall
11
11
  // back to /about. Text is free-form (localizable per site), defaulting to "Read more".
12
- function safeHeroLink(raw, fallback = "/about") {
12
+ function safeHeroLink(raw, fallback = "/about/") {
13
13
  const v = typeof raw === "string" ? raw.trim() : "";
14
14
  if (!v) return fallback;
15
15
  if (v.startsWith("/")) return v;
@@ -24,7 +24,7 @@ export const DEFAULTS_HOMEPAGE = Object.freeze({
24
24
  // ctaText is free-text (localize per site, e.g. "À propos"); ctaUrl is the
25
25
  // target (default /about — keeps existing sites unchanged).
26
26
  ctaText: "Read more",
27
- ctaUrl: "/about",
27
+ ctaUrl: "/about/",
28
28
  }),
29
29
  sections: Object.freeze([
30
30
  Object.freeze({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rmdes/indiekit-endpoint-site-config",
3
- "version": "1.0.0-beta.8",
3
+ "version": "1.0.0-beta.9",
4
4
  "type": "module",
5
5
  "description": "Site identity, branding, and navigation configuration for Indiekit",
6
6
  "main": "index.js",