Skip to content

Commit

Permalink
Merge pull request #1224 from FlowFuse/zj-redirects-again
Browse files Browse the repository at this point in the history
redirects: Remove a couple more
  • Loading branch information
Yndira-E authored Oct 10, 2023
2 parents c359655 + a75b6c7 commit f6a3025
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .eleventy.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ module.exports = function(eleventyConfig) {
return "/"+parts.map(p => {
let url = `${path}/${p}`;
path = url;
return `<a class="mx-2" href="${url}">${p}</a>`
return `<a class="mx-2" href="${url}/">${p}</a>`
}).join("/")
});

Expand Down
4 changes: 2 additions & 2 deletions src/_includes/blog/template.njk
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
<div class="px-2 my-4 flex flex-wrap gap-4">
{%- for tag in blogTags -%}
{% if tag.value !== "posts" %}
<a class="hover:no-underline" href="/blog/{{ tag.value }}"><button class="ff-btn ff-btn--primary{% if not page.url.includes('/' + tag.value + '/')%}-outlined{% endif %}">{{ tag.label }}</button></a>
<a class="hover:no-underline" href="/blog/{{ tag.value }}/"><button class="ff-btn ff-btn--primary{% if not page.url.includes('/' + tag.value + '/')%}-outlined{% endif %}">{{ tag.label }}</button></a>
{% else %}
<a class="hover:no-underline" href="/blog"><button class="ff-btn ff-btn--primary{% if page.url !== "/blog/"%}-outlined{% endif %}">{{ tag.label }}</button></a>
<a class="hover:no-underline" href="/blog/"><button class="ff-btn ff-btn--primary{% if page.url !== "/blog/"%}-outlined{% endif %}">{{ tag.label }}</button></a>
{% endif %}
{% endfor %}
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/changelog/2023/09/pipeline-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ tags:
- changelog
---

The execution of DevOps Pipelines is now an official API endpoint. Therefore, automation and integration, for example via Node-RED, are now possible. For more details, see our [API Documentation](https://flowfuse.com/docs/api/).
The execution of DevOps Pipelines is now an official API endpoint. Therefore, automation and integration, for example via Node-RED, are now possible. For more details, see our [API Documentation](/docs/api/).
6 changes: 3 additions & 3 deletions src/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ sitemapPriority: 1.0
</div>
<div class="m-auto w-full text-center mb-8 md:mt-24">
<h2>Why FlowFuse and Node-RED</h2>
<h5><a href="/node-red">What is Node-RED?</a></h5>
<h5><a href="/node-red/">What is Node-RED?</a></h5>
</div>
</div>
</div>
Expand Down Expand Up @@ -85,7 +85,7 @@ sitemapPriority: 1.0
<div class="container m-auto text-center max-w-4xl">
<div class="m-auto mt-16 w-full text-center">
<h2>Start using FlowFuse</h2>
<p class="text-white font-light">For a full feature comparison, please visit our <a href="/pricing">Pricing</a> page.</p>
<p class="text-white font-light">For a full feature comparison, please visit our <a href="/pricing/">Pricing</a> page.</p>
</div>
<div class="sm:mt-10 md:mt-10 w-full max-w-4xl text-center flex flex-wrap gap-2 justify-around">
<div class="w-full px-3 mt-4 sm:w-72 md:mt-0 css-full">
Expand All @@ -94,7 +94,7 @@ sitemapPriority: 1.0
</div>
<h5 class="flex justify-center">Book a Demo</h5>
<label class="font-light mt-2 block">Understand how you can develop and roll out bespoke applications with FlowFuse and Node-RED.</label>
<a class="mt-4 ff-btn ff-btn--secondary uppercase inline-block" href="/book-demo" onclick="capture('cta-book-demo', {'position': 'secondary'})">Book a Demo</a>
<a class="mt-4 ff-btn ff-btn--secondary uppercase inline-block" href="/book-demo/" onclick="capture('cta-book-demo', {'position': 'secondary'})">Book a Demo</a>
</div>
<div class="w-full px-3 mt-4 sm:w-72 md:mt-0 flex flex-col items-center justify-between">
<div>
Expand Down
2 changes: 1 addition & 1 deletion src/partners/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ description:
using Node-RED and FlowFuse.</p>
<ul class="md:w-[35%] flex flex-row justify-center md:justify-end w-full items-center">
<li class="w-[150px] pb-6 md:pb-0 hover:transition-opacity hover:opacity-75 transition ease-in duration-300">
<a href="/partners/ctrlx">{% image "../images/partners/logo-rexroth.png", "Rexroth logo", [150] %}</a>
<a href="/partners/ctrlx/">{% image "../images/partners/logo-rexroth.png", "Rexroth logo", [150] %}</a>
</li>
</ul>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/solutions/manufacturing.njk
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ description:
Contact us to discover how FlowFuse can help<br><span class="text-teal-200">Connect, Integrate, Visualize & Automate</span> your industrial data
</p>
<div>
<a href="/contact-us" class="inline-block ff-btn ff-btn--secondary m-auto">GET IN TOUCH</a>
<a href="/contact-us/" class="inline-block ff-btn ff-btn--secondary m-auto">GET IN TOUCH</a>
</div>
</div>
</div>
6 changes: 3 additions & 3 deletions src/team.njk
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ layout: layouts/nohero.njk
<div class="container m-auto text-center max-w-4xl">
<div>
<h2 class="mb-4">Working at FlowFuse</h2>
<p>Here are just some of the benefits enjoyed by our employees. We are always looking to improve and expand these too. You can read more about them in our <a href="/handbook/peopleops">Handbook.</a></p>
<p>Here are just some of the benefits enjoyed by our employees. We are always looking to improve and expand these too. You can read more about them in our <a href="/handbook/peopleops/">Handbook.</a></p>
</div>
{% include "benefits.njk" %}
</div>
Expand All @@ -84,9 +84,9 @@ layout: layouts/nohero.njk
<div class="container m-auto text-center max-w-4xl">
<div class="">
<h1 class="mb-4">Company Values</h1>
<p>We are full open about our company values, you can read more about them in our <a href="/handbook/company">Handbook.</a></p>
<p>We are full open about our company values, you can read more about them in our <a href="/handbook/company/">Handbook.</a></p>
</div>
{% include "values.njk" %}
<p>Interested in joining FlowFuse? Check out our <a href="/careers">Jobs</a> page for our current openings.</p>
<p>Interested in joining FlowFuse? Check out our <a href="{{ site.jobBoard }}">Jobs</a> page for our current openings.</p>
</div>
</div>

0 comments on commit f6a3025

Please sign in to comment.