mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-11 03:12:56 +00:00
refactor(template): rename startup-landing-page → saas-landing-page
The template's redesigned content (around fictional Beacon - a B2B SaaS feedback platform) What's renamed (internal only): - templates/startup-landing-page/ → templates/saas-landing-page/ - hugoblox.yaml: template id "landing-page" → "saas-landing-page", name "Landing Page" → "SaaS Landing Page" - CI workflows: source path in ci-build-starters-matrix.yml and release-package-splitter.yml - README.md: slug in URLs, CLI command (`npx hugoblox create site --template saas-landing-page`) - splitter target repo: hugo-theme-startup-landing-page → hugo-theme-saas-landing-page
This commit is contained in:
1 parent
9f19818ea7
commit
b8ad554028
60 files changed
+436
-428
No files matched your search
@@ -77,14 +77,21 @@
|
||||
(index $ctaWhenTemplate (mod $n (len $ctaWhenTemplate)))
|
||||
(index $ctaNoTemplate (mod $n (len $ctaNoTemplate))) -}}
|
||||
|
||||
{{- $target := cond (ne $tid "")
|
||||
(printf "%s/templates/%s/start" $base $tid)
|
||||
(printf "%s/start" $base) -}}
|
||||
|
||||
{{/* Brand link: template-deploy URL when known, else hugoblox.com homepage.
|
||||
CTA link: agentic Hugo Chat builder, with template_id seed when known. */}}
|
||||
{{- $brandTarget := cond (ne $tid "") (printf "%s/templates/%s" $base $tid) $base -}}
|
||||
{{- $ctaTarget := "https://hugo.chat" -}}
|
||||
|
||||
{{- $brandHref := printf "%s?utm_source=site_footer&utm_medium=referral&utm_campaign=poweredby_oss&utm_content=brand_%s"
|
||||
$base (cond (ne $tid "") (printf "%s" $tid) "na") -}}
|
||||
$brandTarget (cond (ne $tid "") (printf "%s" $tid) "na") -}}
|
||||
{{- if ne $tid "" -}}
|
||||
{{- $brandHref = printf "%s&start=1" $brandHref -}}
|
||||
{{- end -}}
|
||||
{{- $ctaHref := printf "%s?utm_source=site_footer&utm_medium=referral&utm_campaign=poweredby_oss&utm_content=cta_%s"
|
||||
$target (cond (ne $tid "") (printf "%s" $tid) "na") -}}
|
||||
$ctaTarget (cond (ne $tid "") (printf "%s" $tid) "na") -}}
|
||||
{{- if ne $tid "" -}}
|
||||
{{- $ctaHref = printf "%s&template_id=%s" $ctaHref $tid -}}
|
||||
{{- end -}}
|
||||
{{- if ne $ref "" -}}
|
||||
{{- $brandHref = printf "%s&ref=%s" $brandHref $ref -}}
|
||||
{{- $ctaHref = printf "%s&ref=%s" $ctaHref $ref -}}
|
||||
|
||||
Reference in new issue
Block a user