From 364a813ecc5712b20833b2ad180fa077fab39610 Mon Sep 17 00:00:00 2001 From: Frankie Roberto Date: Wed, 26 Mar 2025 10:35:44 +0000 Subject: [PATCH 1/2] Add service name to page title tags This should help to avoid ambiguity when posts are shared elsewhere. --- app/_layouts/post.njk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/_layouts/post.njk b/app/_layouts/post.njk index c4beab619..c9bcf6b16 100644 --- a/app/_layouts/post.njk +++ b/app/_layouts/post.njk @@ -1,5 +1,11 @@ {% extends "layouts/post.njk" %} +{% if eleventyNavigation.parent %} + {% block pageTitle %} + {{- title }} - {{ eleventyNavigation.parent }} - {{ options.titleSuffix }} + {% endblock %} +{% endif %} + {% from "screenshots/macro.njk" import appScreenshots %} {% block content %} From f1fe9b29d9dd79ff46c7dc6fe0a7569e35ce827d Mon Sep 17 00:00:00 2001 From: Frankie Roberto Date: Wed, 26 Mar 2025 10:37:05 +0000 Subject: [PATCH 2/2] Remove trailing whitespace --- app/_layouts/post.njk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/_layouts/post.njk b/app/_layouts/post.njk index c9bcf6b16..f5c980313 100644 --- a/app/_layouts/post.njk +++ b/app/_layouts/post.njk @@ -2,7 +2,7 @@ {% if eleventyNavigation.parent %} {% block pageTitle %} - {{- title }} - {{ eleventyNavigation.parent }} - {{ options.titleSuffix }} + {{- title }} - {{ eleventyNavigation.parent }} - {{ options.titleSuffix -}} {% endblock %} {% endif %}