Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/inmprove metadata #309

Merged
merged 5 commits into from
Jan 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/_assets/favicon/site.webmanifest
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -15,5 +17,6 @@
],
"theme_color": "#ffce2e",
"background_color": "#ffce2e",
"display": "standalone"
"display": "standalone",
"categories": ["frontend", "webdevelopment", "web development", "professional association"]
}
18 changes: 15 additions & 3 deletions src/_includes/partials/utility/html-head.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{% if title == "Homepage" %}
{{ translations[locale].headTitle }}
{% else %}
{{ title }} - {{ translations[locale].siteName }}
{{ title }} - {{ translations[locale].siteName }}
{% endif %}
</title>

Expand All @@ -24,8 +24,8 @@
{%- endfor -%}

<link rel="manifest" href="/assets/favicon/site.webmanifest" crossorigin="anonymous">
<link rel="icon" href="/assets/favicon/favicon.ico" sizes="any">
<link rel="icon" href="/assets/favicon/icon.svg" type="image/svg+xml">
<link rel="icon" href="/assets/favicon/favicon.ico" sizes="48x48">
<link rel="icon" href="/assets/favicon/icon.svg" sizes="any" type="image/svg+xml">

<link rel="stylesheet" href="/assets/css/style.css">

Expand All @@ -36,11 +36,23 @@
<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">

<meta property="og:type" content="website" />
<meta property="og:title" content="{{ title }}">
<meta property="og:site_name" content="{{ translations[locale].siteName }}">
<meta property="og:image" content="https://fronteers-beta.netlify.app/assets/images/social-share/og-image-{{ locale }}.jpeg">
<meta property="og:image:alt" content="Image of Fronteers website" />
<meta property="og:image:width" content="1280">
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