diff --git a/services/pages/generate.go b/services/pages/generate.go
index 280e814df9..c45c2b6ce4 100644
--- a/services/pages/generate.go
+++ b/services/pages/generate.go
@@ -289,8 +289,12 @@ func buildTranslatableContent(config *pages_module.LandingConfig) string {
// Blog
if config.Blog.Enabled {
+ blogHeadline := config.Blog.Headline
+ if blogHeadline == "" {
+ blogHeadline = "Latest Posts"
+ }
blog := map[string]any{
- "headline": config.Blog.Headline,
+ "headline": blogHeadline,
"subheadline": config.Blog.Subheadline,
}
if config.Blog.CTAButton.Label != "" {
@@ -301,16 +305,24 @@ func buildTranslatableContent(config *pages_module.LandingConfig) string {
// Gallery
if config.Gallery.Enabled {
+ galleryHeadline := config.Gallery.Headline
+ if galleryHeadline == "" {
+ galleryHeadline = "Gallery"
+ }
content["gallery"] = map[string]any{
- "headline": config.Gallery.Headline,
+ "headline": galleryHeadline,
"subheadline": config.Gallery.Subheadline,
}
}
// Comparison
if config.Comparison.Enabled {
+ compHeadline := config.Comparison.Headline
+ if compHeadline == "" {
+ compHeadline = "How We Compare"
+ }
content["comparison"] = map[string]any{
- "headline": config.Comparison.Headline,
+ "headline": compHeadline,
"subheadline": config.Comparison.Subheadline,
}
}
diff --git a/templates/pages/architecture-deep-dive.tmpl b/templates/pages/architecture-deep-dive.tmpl
index eb7e445149..806e2bbc13 100644
--- a/templates/pages/architecture-deep-dive.tmpl
+++ b/templates/pages/architecture-deep-dive.tmpl
@@ -1276,9 +1276,8 @@
+
{{if .Config.Navigation.LabelValueProps}}{{.Config.Navigation.LabelValueProps}}{{else}}{{if .Config.Brand.Name}}Why {{.Config.Brand.Name}}?{{else}}Why Choose Us{{end}}{{end}}
+
{{range .Config.ValueProps}}
@@ -1300,9 +1299,8 @@
+
{{if .Config.Navigation.LabelFeatures}}{{.Config.Navigation.LabelFeatures}}{{else}}Features{{end}}
+
{{range .Config.Features}}
diff --git a/templates/pages/bold-marketing.tmpl b/templates/pages/bold-marketing.tmpl
index 0e51e7d9a2..8523e73318 100644
--- a/templates/pages/bold-marketing.tmpl
+++ b/templates/pages/bold-marketing.tmpl
@@ -1405,8 +1405,7 @@
+
{{range .Config.ValueProps}}
diff --git a/templates/pages/cli-terminal.tmpl b/templates/pages/cli-terminal.tmpl
index 257bbf319e..f67c99b905 100644
--- a/templates/pages/cli-terminal.tmpl
+++ b/templates/pages/cli-terminal.tmpl
@@ -1291,9 +1291,8 @@
+
{{if .Config.Navigation.LabelValueProps}}{{.Config.Navigation.LabelValueProps}}{{else}}{{if .Config.Brand.Name}}Why {{.Config.Brand.Name}}?{{else}}Why Choose Us{{end}}{{end}}
+
{{range .Config.ValueProps}}
@@ -1315,9 +1314,8 @@
+
{{if .Config.Navigation.LabelFeatures}}{{.Config.Navigation.LabelFeatures}}{{else}}Features{{end}}
+
{{range .Config.Features}}
diff --git a/templates/pages/developer-tool.tmpl b/templates/pages/developer-tool.tmpl
index d4d02d214e..3d44e7cbdf 100644
--- a/templates/pages/developer-tool.tmpl
+++ b/templates/pages/developer-tool.tmpl
@@ -1164,9 +1164,8 @@
+
{{if .Config.Navigation.LabelValueProps}}{{.Config.Navigation.LabelValueProps}}{{else}}{{if .Config.Brand.Name}}Why {{.Config.Brand.Name}}?{{else}}Why Choose Us{{end}}{{end}}
+
{{range .Config.ValueProps}}
@@ -1188,9 +1187,8 @@
+
{{if .Config.Navigation.LabelFeatures}}{{.Config.Navigation.LabelFeatures}}{{else}}Features{{end}}
+
{{range .Config.Features}}
diff --git a/templates/pages/documentation-first.tmpl b/templates/pages/documentation-first.tmpl
index 2e8f8aadd0..c7861db038 100644
--- a/templates/pages/documentation-first.tmpl
+++ b/templates/pages/documentation-first.tmpl
@@ -1188,9 +1188,8 @@
+
{{if .Config.Navigation.LabelValueProps}}{{.Config.Navigation.LabelValueProps}}{{else}}{{if .Config.Brand.Name}}Why {{.Config.Brand.Name}}?{{else}}Why Choose Us{{end}}{{end}}
+
{{range .Config.ValueProps}}
@@ -1212,9 +1211,8 @@
+
{{if .Config.Navigation.LabelFeatures}}{{.Config.Navigation.LabelFeatures}}{{else}}Features{{end}}
+
{{range .Config.Features}}
diff --git a/templates/pages/minimalist-docs.tmpl b/templates/pages/minimalist-docs.tmpl
index 4dce66a660..22b09e912b 100644
--- a/templates/pages/minimalist-docs.tmpl
+++ b/templates/pages/minimalist-docs.tmpl
@@ -1268,7 +1268,7 @@
{{if .Config.ValueProps}}
{{if .Config.Navigation.LabelValueProps}}{{.Config.Navigation.LabelValueProps}}{{else}}Why choose this{{end}}
- {{if .Config.Brand.Name}}Why {{.Config.Brand.Name}}{{else}}Why Choose Us{{end}}
+ {{if .Config.Navigation.LabelValueProps}}{{.Config.Navigation.LabelValueProps}}{{else}}{{if .Config.Brand.Name}}Why {{.Config.Brand.Name}}{{else}}Why Choose Us{{end}}{{end}}
{{range $i, $v := .Config.ValueProps}}
{{$i | printf "%d"}}
@@ -1285,7 +1285,7 @@
{{if .Config.Features}}
{{if .Config.Navigation.LabelFeatures}}{{.Config.Navigation.LabelFeatures}}{{else}}Capabilities{{end}}
- Features
+ {{if .Config.Navigation.LabelFeatures}}{{.Config.Navigation.LabelFeatures}}{{else}}Features{{end}}
{{range $i, $f := .Config.Features}}
diff --git a/templates/pages/open-source-hero.tmpl b/templates/pages/open-source-hero.tmpl
index 1590b3814c..76b27c5e18 100644
--- a/templates/pages/open-source-hero.tmpl
+++ b/templates/pages/open-source-hero.tmpl
@@ -1256,9 +1256,8 @@
+
{{if .Config.Navigation.LabelValueProps}}{{.Config.Navigation.LabelValueProps}}{{else}}{{if .Config.Brand.Name}}Why {{.Config.Brand.Name}}?{{else}}Why Choose Us{{end}}{{end}}
+
{{range .Config.ValueProps}}
@@ -1280,9 +1279,8 @@
+
{{if .Config.Navigation.LabelFeatures}}{{.Config.Navigation.LabelFeatures}}{{else}}Features{{end}}
+
{{range .Config.Features}}
diff --git a/templates/pages/visual-showcase.tmpl b/templates/pages/visual-showcase.tmpl
index b008c508e9..c6b1b2f11f 100644
--- a/templates/pages/visual-showcase.tmpl
+++ b/templates/pages/visual-showcase.tmpl
@@ -1296,9 +1296,8 @@
+
{{if .Config.Navigation.LabelValueProps}}{{.Config.Navigation.LabelValueProps}}{{else}}{{if .Config.Brand.Name}}Why {{.Config.Brand.Name}}?{{else}}Why Choose Us{{end}}{{end}}
+
{{range .Config.ValueProps}}
@@ -1320,9 +1319,8 @@
+
{{if .Config.Navigation.LabelFeatures}}{{.Config.Navigation.LabelFeatures}}{{else}}Features{{end}}
+
{{range .Config.Features}}