Skip to content

Commit 9375eaa

Browse files
authored
Merge pull request #3165 from FlowFuse/fix-tagline-spacing
Homepage: tagline fix
2 parents 79a7e22 + 6679fa4 commit 9375eaa

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/_data/site.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"d2fe": "https://boards.greenhouse.io/flowfuse/jobs/5185319004"
1010
},
1111
"messaging": {
12-
"tagLine": "Unlock Industrial Data<br /> Integrate Everything<br />Optimize Faster",
12+
"tagLine": "Unlock Industrial Data. Integrate Everything. Optimize Faster.",
1313
"subtitle": "Quickly build workflows, applications and integrations that optimize your operations with our low-code, open-source, end to end platform.",
1414
"title": "Build workflows and integrations that optimize your industrial operations",
1515
"keywords": "Node-RED, Application Development, IoT, IIoT, Low-Code, open source, Integration, Workflow, Automation, Data Processing, Data Integration, Data Transformation, Data Visualization, Industrial Automation, Industrial IoT, Industry 4.0"

src/_includes/layouts/base.njk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ eleventyComputed:
6262
<title>{{ title }} &#x2022; FlowFuse{% if page.url and page.url.match('\/handbook\/.+') %} Handbook{% endif %}{% if page.url and page.url.match('\/docs\/.+') %} Docs{% endif %}</title>
6363
{% else %}
6464
{% set extractedTitle = content | extractH1Content %}
65-
{% if extractedTitle %}
65+
{% if extractedTitle and page.url != '/' %}
6666
<title>{{ extractedTitle }} &#x2022; FlowFuse{% if page.url and page.url.match('\/handbook\/.+') %} Handbook{% endif %}{% if page.url and page.url.match('\/docs\/.+') %} Docs{% endif %}</title>
6767
{% else %}
68-
<title>FlowFuse &#x2022; {{ site.messaging.title }}</title>
68+
<title>FlowFuse &#x2022; {{ site.messaging.tagLine }}</title>
6969
{% endif %}
7070
{% endif %}
7171

src/index.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ hubspot:
1313
<div class="container m-auto text-left max-w-screen-lg lg:flex lg:flex-row lg:items-start lg:justify-between lg:gap-6">
1414
<div class="max-w-xl mx-auto lg:mx-0 lg:my-auto lg:py-10 lg:max-w-[600px]">
1515
<h1 class="font-medium leading-tight max-w-xl m-auto lg:m-0 text-center lg:text-left text-indigo-800 text-4xl">
16-
{{ site.messaging.tagLine | safe }}
16+
{{ site.messaging.tagLine | replace('. ', ' <br />') | replace('.', '') | safe }}
1717
</h1>
1818
<p class="mt-6 text-center lg:text-left">
1919
{{ site.messaging.subtitle }}

0 commit comments

Comments
 (0)