Merge pull request 'Oops languages were swapped :)' (#108) from benjaoming/website:fix-language into main
Some checks reported errors
continuous-integration/drone/push Build was killed

Reviewed-on: #108
This commit is contained in:
benjaoming 2023-12-16 22:58:48 +00:00
commit 509b750f0f

View file

@ -17,13 +17,15 @@ markup:
languages: languages:
da: da:
title: data.coop title: data.coop
params:
description: "Et datakollektiv, der passer på dine data."
weight: 1 weight: 1
# First Hugo looks in your post front matter for an images value (images: [""]) # First Hugo looks in your post front matter for an images value (images: [""])
# Then Hugo searchs for image page resources with feature, cover or thumbnail in their name. These are images files under a directory that matches the post (e.g. content\posts\first-post) # Then Hugo searchs for image page resources with feature, cover or thumbnail in their name. These are images files under a directory that matches the post (e.g. content\posts\first-post)
# If not images are found, Hugo looks for images (images: [""]) in your site config # If not images are found, Hugo looks for images (images: [""]) in your site config
# If no image if found, then an image-less Twitter summary card is used instead of summary_large_image # If no image if found, then an image-less Twitter summary card is used instead of summary_large_image
# https://digitaldrummerj.me/hugo-preview-when-sharing-twitter/ # https://digitaldrummerj.me/hugo-preview-when-sharing-twitter/
images: ["/static/img/some_card_preview_large_en.png"] images: ["/static/img/some_card_preview_large_da.png"]
LanguageName: Dansk LanguageName: Dansk
menu: menu:
nav: nav:
@ -41,8 +43,10 @@ languages:
weight: 4 weight: 4
en: en:
title: data.coop title: data.coop
params:
description: "A data collective that takes care of your data."
weight: 2 weight: 2
images: ["/static/img/some_card_preview_large_da.png"] images: ["/static/img/some_card_preview_large_en.png"]
LanguageName: English LanguageName: English
menu: menu:
nav: nav:
@ -59,5 +63,3 @@ languages:
url: "en/rights/" url: "en/rights/"
weight: 4 weight: 4
params:
description: "Et datakollektiv, der passer på dine data."