Skip to content

Commit 8f6fcd8

Browse files
Add service name to page title tags (#86)
This should help to avoid ambiguity when posts are shared elsewhere.
1 parent 4b7bb54 commit 8f6fcd8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

app/_layouts/post.njk

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
{% extends "layouts/post.njk" %}
22

3+
{% if eleventyNavigation.parent %}
4+
{% block pageTitle %}
5+
{{- title }} - {{ eleventyNavigation.parent }} - {{ options.titleSuffix -}}
6+
{% endblock %}
7+
{% endif %}
8+
39
{% from "screenshots/macro.njk" import appScreenshots %}
410

511
{% block content %}

0 commit comments

Comments
 (0)