Skip to content

Commit a7de0ef

Browse files
Fix URL case and update Twitter meta tags
Updated the URL to use lowercase and modified Twitter creator meta tag logic to prevent empty emission.
1 parent ea13202 commit a7de0ef

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/_includes/layouts/base.njk

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ meta:
55
site:
66
name: FlowFuse
77
description: {{ messaging.title }}
8-
url: https://FlowFuse.com
8+
url: https://flowFuse.com
99
logo:
1010
src: https://flowfuse.com/handbook/images/logos/ff-logo--square--dark.png
1111
width: 396
@@ -118,8 +118,12 @@ eleventyComputed:
118118
<!-- Twitter Card -->
119119
<meta name="twitter:card" content="summary_large_image" />
120120
<meta name="twitter:site" content="@FlowFuseinc" />
121+
{% if team[authors|first] and team[authors|first].twitter %}
121122
<meta name="twitter:creator" content="@{{ team[authors|first].twitter }}" />
122123
{% else %}
124+
<meta name="twitter:creator" content="@FlowFuseinc" />
125+
{% endif %}
126+
{% else %}
123127
<!-- Twitter Card -->
124128
<meta name="twitter:card" content="summary_large_image" />
125129
<meta name="twitter:description" content="" />

0 commit comments

Comments
 (0)