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

Reviewed-on: #108
This commit is contained in:
benjaoming 2023-12-16 22:58:48 +00:00
commit 509b750f0f
1 changed files with 6 additions and 4 deletions

View File

@ -17,13 +17,15 @@ markup:
languages:
da:
title: data.coop
params:
description: "Et datakollektiv, der passer på dine data."
weight: 1
# 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)
# 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
# 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
menu:
nav:
@ -41,8 +43,10 @@ languages:
weight: 4
en:
title: data.coop
params:
description: "A data collective that takes care of your data."
weight: 2
images: ["/static/img/some_card_preview_large_da.png"]
images: ["/static/img/some_card_preview_large_en.png"]
LanguageName: English
menu:
nav:
@ -59,5 +63,3 @@ languages:
url: "en/rights/"
weight: 4
params:
description: "Et datakollektiv, der passer på dine data."