From c6b95c76fd601626946f4a03080982e417fbeaec Mon Sep 17 00:00:00 2001 From: Edwin Martin Date: Sat, 20 Jan 2024 12:12:38 +0100 Subject: [PATCH 1/4] Add OG title and site name --- src/_includes/partials/utility/html-head.liquid | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/_includes/partials/utility/html-head.liquid b/src/_includes/partials/utility/html-head.liquid index 3290f98c..09ada0d1 100644 --- a/src/_includes/partials/utility/html-head.liquid +++ b/src/_includes/partials/utility/html-head.liquid @@ -7,7 +7,7 @@ {% if title == "Homepage" %} {{ translations[locale].headTitle }} {% else %} - {{ title }} - {{ translations[locale].siteName }} + {{ title }} - {{ translations[locale].siteName }} {% endif %} @@ -41,6 +41,8 @@ + + From c652eaa828a80e8aa52f741f490b3dd95a89b645 Mon Sep 17 00:00:00 2001 From: Edwin Martin Date: Sat, 20 Jan 2024 12:14:23 +0100 Subject: [PATCH 2/4] Improve favicon metadata See https://dev.to/masakudamatsu/favicon-nightmare-how-to-maintain-sanity-3al7 --- src/_includes/partials/utility/html-head.liquid | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/_includes/partials/utility/html-head.liquid b/src/_includes/partials/utility/html-head.liquid index 09ada0d1..71253387 100644 --- a/src/_includes/partials/utility/html-head.liquid +++ b/src/_includes/partials/utility/html-head.liquid @@ -24,8 +24,8 @@ {%- endfor -%} - - + + From 7f9cc7c86f55ca04e8f7b7c85acb84805b988aa8 Mon Sep 17 00:00:00 2001 From: Edwin Martin Date: Sat, 20 Jan 2024 12:18:55 +0100 Subject: [PATCH 3/4] Improve manifest --- src/_assets/favicon/site.webmanifest | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/_assets/favicon/site.webmanifest b/src/_assets/favicon/site.webmanifest index 1d4b0520..e5b2e0a3 100644 --- a/src/_assets/favicon/site.webmanifest +++ b/src/_assets/favicon/site.webmanifest @@ -1,6 +1,8 @@ { "name": "Fronteers", "short_name": "Fronteers", + "description": "Fronteers is the non-profit professional association of Dutch-speaking front-end developers.", + "start_url": "https://fronteers.nl/", "icons": [ { "src": "/assets/favicon/android-chrome-192x192.png", @@ -15,5 +17,6 @@ ], "theme_color": "#ffce2e", "background_color": "#ffce2e", - "display": "standalone" + "display": "standalone", + "categories": ["frontend", "webdevelopment", "web development", "professional association"] } From 45c273f6ae670116682865c4cb7ae739d516e9c9 Mon Sep 17 00:00:00 2001 From: Edwin Martin Date: Sat, 20 Jan 2024 12:53:54 +0100 Subject: [PATCH 4/4] Move feeds in own folder, add to metadata, small improvements --- src/_includes/partials/utility/html-head.liquid | 10 ++++++++++ src/rss-activiteiten.njk | 4 ++-- src/rss-activities.njk | 4 ++-- src/rss-blogs-en.njk | 4 ++-- src/rss-blogs.njk | 4 ++-- src/rss-jobs.njk | 4 ++-- src/rss-vacatures.njk | 4 ++-- 7 files changed, 22 insertions(+), 12 deletions(-) diff --git a/src/_includes/partials/utility/html-head.liquid b/src/_includes/partials/utility/html-head.liquid index 71253387..9e607c10 100644 --- a/src/_includes/partials/utility/html-head.liquid +++ b/src/_includes/partials/utility/html-head.liquid @@ -36,6 +36,16 @@ + {% if locale == 'nl' %} + + + + {% else %} + + + + {% endif %} + diff --git a/src/rss-activiteiten.njk b/src/rss-activiteiten.njk index d4dfcaa3..636ac169 100644 --- a/src/rss-activiteiten.njk +++ b/src/rss-activiteiten.njk @@ -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/", diff --git a/src/rss-activities.njk b/src/rss-activities.njk index 3928b2cc..afe56f3b 100644 --- a/src/rss-activities.njk +++ b/src/rss-activities.njk @@ -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/", diff --git a/src/rss-blogs-en.njk b/src/rss-blogs-en.njk index b6413363..d8f38099 100644 --- a/src/rss-blogs-en.njk +++ b/src/rss-blogs-en.njk @@ -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/", diff --git a/src/rss-blogs.njk b/src/rss-blogs.njk index eb16d963..be823399 100644 --- a/src/rss-blogs.njk +++ b/src/rss-blogs.njk @@ -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/", diff --git a/src/rss-jobs.njk b/src/rss-jobs.njk index 59f36f6e..c1193c51 100644 --- a/src/rss-jobs.njk +++ b/src/rss-jobs.njk @@ -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/", diff --git a/src/rss-vacatures.njk b/src/rss-vacatures.njk index f097b531..e7570fd8 100644 --- a/src/rss-vacatures.njk +++ b/src/rss-vacatures.njk @@ -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/",