Skip to content

Commit

Permalink
Move feeds in own folder, add to metadata, small improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
edwinm committed Jan 20, 2024
1 parent 7f9cc7c commit 45c273f
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 12 deletions.
10 changes: 10 additions & 0 deletions src/_includes/partials/utility/html-head.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,16 @@
<link rel="preload" as="font" href="/assets/fonts/Roboto-Italic.woff2" type="font/woff2" crossorigin="anonymous">
<link rel="preload" as="font" href="/assets/fonts/Roboto-Regular.woff2" type="font/woff2" crossorigin="anonymous">

{% if locale == 'nl' %}
<link rel="alternate" type="application/atom+xml" title="Fronteers blog" href="https://fronteers.nl/feeds/blog.xml" />
<link rel="alternate" type="application/atom+xml" title="Fronteers activiteiten" href="https://fronteers.nl/feeds/activiteiten.xml" />
<link rel="alternate" type="application/atom+xml" title="Fronteers vacatures" href="https://fronteers.nl/feeds/vacatures.xml" />
{% else %}
<link rel="alternate" type="application/atom+xml" title="Fronteers blog" href="https://fronteers.nl/feeds/blog-en.xml" />
<link rel="alternate" type="application/atom+xml" title="Fronteers activities" href="https://fronteers.nl/feeds/activities.xml" />
<link rel="alternate" type="application/atom+xml" title="Fronteers jobs" href="https://fronteers.nl/feeds/jobs.xml" />
{% endif %}

<meta name="description" content="{{ translations[locale].metaDescription }}">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="theme-color" content="#ffce2e">
Expand Down
4 changes: 2 additions & 2 deletions src/rss-activiteiten.njk
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---json
{
"permalink": "activiteiten.xml",
"permalink": "feeds/activiteiten.xml",
"eleventyExcludeFromCollections": true,
"metadata": {
"title": "Activiteiten",
"title": "Fronteers activiteiten",
"subtitle": "",
"language": "nl",
"url": "https://www.fronteers.nl/",
Expand Down
4 changes: 2 additions & 2 deletions src/rss-activities.njk
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---json
{
"permalink": "activities.xml",
"permalink": "feeds/activities.xml",
"eleventyExcludeFromCollections": true,
"metadata": {
"title": "Activities",
"title": "Fronteers activities",
"subtitle": "",
"language": "en",
"url": "https://www.fronteers.nl/",
Expand Down
4 changes: 2 additions & 2 deletions src/rss-blogs-en.njk
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---json
{
"permalink": "blogs-en.xml",
"permalink": "feeds/blog-en.xml",
"eleventyExcludeFromCollections": true,
"metadata": {
"title": "Blogs",
"title": "Fronteers blog",
"subtitle": "",
"language": "en",
"url": "https://www.fronteers.nl/",
Expand Down
4 changes: 2 additions & 2 deletions src/rss-blogs.njk
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---json
{
"permalink": "blogs.xml",
"permalink": "feeds/blog.xml",
"eleventyExcludeFromCollections": true,
"metadata": {
"title": "Blogs",
"title": "Fronteers blog",
"subtitle": "",
"language": "nl",
"url": "https://www.fronteers.nl/",
Expand Down
4 changes: 2 additions & 2 deletions src/rss-jobs.njk
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---json
{
"permalink": "jobs.xml",
"permalink": "feeds/jobs.xml",
"eleventyExcludeFromCollections": true,
"metadata": {
"title": "Jobs",
"title": "Fronteers jobs",
"subtitle": "",
"language": "en",
"url": "https://www.fronteers.nl/",
Expand Down
4 changes: 2 additions & 2 deletions src/rss-vacatures.njk
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---json
{
"permalink": "vacatures.xml",
"permalink": "feeds/vacatures.xml",
"eleventyExcludeFromCollections": true,
"metadata": {
"title": "Vacatures",
"title": "Fronteers vacatures",
"subtitle": "",
"language": "nl",
"url": "https://www.fronteers.nl/",
Expand Down

0 comments on commit 45c273f

Please sign in to comment.