deploy / build-and-publish (push) Successful in 40s
- banner (home + founders): 'Currently in pilot — the full journey is free for founding teams while we pilot. No card required; in exchange we'll ask for regular feedback' - founders: first card is the start-to-finish SVP (assumptions -> structured experiments with market evidence); 'How it compares' table vs spreadsheet/advisor/in-person workshops; closing 'proceed, pivot or stop' decision line - hubs: 'Why hubs offer it' cards (full validation at a fraction of consultant-workshop cost, consistent assessable output, keeps the face-to-face) + closing invitation on blending with in-person workshops - pricing: flat range list -> four price-sensitivity questions (too expensive / bargain / too cheap / worth considering) x €0/€10/€25/€50/€100+, each tick Umami-tracked (price-<question>-<option>) and riding the Zoho payload as group=option pairs; CMS config + preview mirror the new shape - layout: price groups render as field sets; markdown body tables styled
112 lines
5.2 KiB
YAML
112 lines
5.2 KiB
YAML
# yaml-language-server: $schema=https://unpkg.com/@sveltia/cms/schema/sveltia-cms.json
|
|
# The CMS for the editable-site flow. THIS REPO IS THE SITE REPO: when
|
|
# pushed to the app's Gitea (the deploy-selfhosted skill's E5), its root
|
|
# is the repo root — the paths below are repo-root-relative with NO
|
|
# site/ prefix.
|
|
#
|
|
# Sign-in is a browser-only PKCE OAuth2 flow against the app's Gitea —
|
|
# no token-exchange server, no client secret. Every save commits to THIS
|
|
# repository; the Gitea Actions pipeline (.gitea/workflows/) rebuilds
|
|
# and republishes the site.
|
|
#
|
|
# BOOTSTRAP: app_id (and, if the repo owner differs, repo) are filled by
|
|
# the deploy bootstrap — the OAuth2 application only exists once the
|
|
# Gitea instance is up. See the deploy-selfhosted skill's E4.
|
|
backend:
|
|
name: gitea
|
|
repo: editor/validation-lab-site
|
|
base_url: https://gitea.iwrote.it
|
|
api_root: https://gitea.iwrote.it/api/v1
|
|
app_id: 1824afcc-8bf2-4d16-b741-83f122485ab4
|
|
|
|
# Uploaded images live in the static tree (Astro copies public/ to the
|
|
# build root) so they resolve on the published site.
|
|
media_folder: /public/uploads
|
|
public_folder: /uploads
|
|
|
|
collections:
|
|
- name: pages
|
|
label: Pages
|
|
label_singular: Page
|
|
folder: /src/pages
|
|
nested:
|
|
depth: 2
|
|
summary: "{{title}}"
|
|
extension: md
|
|
format: yaml-frontmatter
|
|
create: true # pages land in src/pages/<locale>/ and appear in the nav (built from the folder)
|
|
delete: false # a page (the Home page above all) cannot be deleted from the CMS
|
|
slug: "{{slug}}"
|
|
identifier_field: title
|
|
summary: "{{title}}"
|
|
fields:
|
|
- { label: Title (also the page <title> and h1), name: title, widget: string }
|
|
- { label: Meta description (search engines), name: description, widget: string, required: false }
|
|
- { label: Layout, name: layout, widget: hidden, default: ../layouts/Site.astro }
|
|
- { label: Hero headline, name: hero_headline, widget: string, required: false }
|
|
- { label: Hero subline, name: hero_sub, widget: text, required: false }
|
|
- label: Hero CTA to the founders page
|
|
name: cta_founders
|
|
widget: string
|
|
required: false
|
|
- label: Hero CTA to the hubs page
|
|
name: cta_hubs
|
|
widget: string
|
|
required: false
|
|
- { label: Pilot banner label (e.g. Pilot stage), name: pilot_label, widget: string, required: false }
|
|
- label: Pilot banner text
|
|
name: pilot_text
|
|
widget: text
|
|
required: false
|
|
hint: Shown under the hero when filled — leave EMPTY to show no banner
|
|
- label: Cards section (optional)
|
|
name: value_props
|
|
widget: list
|
|
required: false
|
|
fields:
|
|
- { label: Heading, name: heading, widget: string }
|
|
- { label: Text, name: text, widget: text }
|
|
- { label: Link (page path, e.g. /for-founders/), name: link, widget: string, required: false }
|
|
- { label: Link label (empty = "Read more"), name: link_label, widget: string, required: false }
|
|
- { label: Cards section heading, name: value_props_title, widget: string, required: false }
|
|
- label: Journey steps (optional)
|
|
name: journey
|
|
widget: list
|
|
required: false
|
|
fields:
|
|
- { label: Step title, name: title, widget: string }
|
|
- { label: Step text (optional), name: text, widget: string, required: false }
|
|
- { label: Journey heading, name: journey_title, widget: string, required: false }
|
|
- { label: Journey note, name: journey_note, widget: text, required: false }
|
|
- label: Price feedback questions (founders page, optional)
|
|
name: price_groups
|
|
widget: list
|
|
required: false
|
|
fields:
|
|
- { label: Question key (lowercase_with_underscores), name: key, widget: string }
|
|
- { label: Question shown to the visitor, name: heading, widget: string }
|
|
- label: Price options
|
|
name: options
|
|
widget: list
|
|
fields:
|
|
- { label: Option key (e.g. eur25 — also the analytics event name), name: key, widget: string }
|
|
- { label: Label (e.g. €25), name: label, widget: string }
|
|
- { label: Price checklist heading, name: price_title, widget: string, required: false }
|
|
- { label: Price checklist note, name: price_note, widget: text, required: false }
|
|
- label: Capability checklist (hubs page, optional)
|
|
name: capabilities
|
|
widget: list
|
|
required: false
|
|
fields:
|
|
- { label: Key (lowercase_with_underscores), name: key, widget: string }
|
|
- { label: Heading, name: heading, widget: string }
|
|
- { label: Text, name: text, widget: text }
|
|
- { label: Capabilities heading, name: capabilities_title, widget: string, required: false }
|
|
- { label: Capabilities note, name: capabilities_note, widget: text, required: false }
|
|
- { label: Request Access button label, name: capabilities_cta, widget: string, required: false, hint: Scroll link under the checklist; leave EMPTY to show no button }
|
|
- { label: Pricing note, name: pricing_note, widget: text, required: false }
|
|
- label: Body
|
|
name: body
|
|
widget: richtext
|
|
hint: The page's long-form content. Everything here is published as the page's main content.
|