From 084fab0c191d4f98ee9e00a5fbe25d4255b79e23 Mon Sep 17 00:00:00 2001 From: Daniel Terhorst-North Date: Thu, 2 Nov 2023 17:43:11 +0000 Subject: [PATCH] use title from /services/_index.md or "Our Services" as fallback --- layouts/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/index.html b/layouts/index.html index 94960d3b..362383cd 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -41,7 +41,7 @@

{{ .Title }}

-

Our Services

+

{{ with .Site.GetPage "/services/" }}{{ .Title | default "Our Services" }}{{ end }}

{{ range first 6 (sort $services ".Params.weight") }}