Merge pull request 'Make links language-aware' (#101) from fix-redirects into main

Reviewed-on: data.coop/website#101
This commit is contained in:
benjaoming 2023-07-29 16:24:10 +00:00
commit 7ba1a77f5c
10 changed files with 21 additions and 23 deletions

View file

@ -2,7 +2,7 @@
title: "Om os"
---
**data.coop** er en forening og et kooperativ.
**[data.coop]({{< ref "/" >}})** er en forening og et kooperativ.
Vi — medlemmerne i kooperativet — ejer vores egne data.

View file

@ -2,7 +2,7 @@
title: "About"
---
**data.coop** is an association and a cooperative.
**[data.coop]({{< ref "/" >}})** is an association and a cooperative.
We — the members of the cooperative — own our own data.

View file

@ -2,11 +2,11 @@
title: Bliv medlem
---
[data.coop](https://data.coop) er en demokratisk forening. Medlemmer bestemmer
[data.coop]({{< ref "/" >}}) er en demokratisk forening. Medlemmer bestemmer
over foreningens generelle drift og hvordan data skal forvaltes. Dette sker som i en helt klassisk forening i henhold til vores vedtægter på den årlige
generalforsamling.
Du bør læse vores [vedtægter](/rights/) og især vores [Acceptable Usage Policy (AUP)](https://git.data.coop/data.coop/dokumenter/src/branch/main/Acceptable%20Usage%20Policy.md) inden du melder dig ind. Har du spørgsmål, kan du finde os på [Matrix og IRC](/about/) eller [sende en e-mail til bestyrelsen](mailto:board@data.coop).
Du bør læse vores [vedtægter]({{< ref "/rights.md" >}}) og især vores [Acceptable Usage Policy (AUP)](https://git.data.coop/data.coop/dokumenter/src/branch/main/Acceptable%20Usage%20Policy.md) inden du melder dig ind. Har du spørgsmål, kan du finde os på [Matrix og IRC]({{< ref "/about.md" >}}) eller [sende en e-mail til bestyrelsen](mailto:board@data.coop).
Du bliver medlem ved at overføre penge til vores konto og sende en email til
vores kasserer, [benjaoming@data.coop](mailto:benjaoming@data.coop), med dit navn.

View file

@ -2,14 +2,14 @@
title: Become a member
---
[data.coop](https://data.coop) is a cooperative established as a democratic association.
[data.coop]({{< ref "/" >}}) is a cooperative established as a democratic association.
The members decide on the association's operations and how data should be governed.
Governance resembles any classic association: We have legal statutes and formal general assemblies.
You need to read our [statutes](/rights/) and our
You need to read our [statutes]({{< relref "/rights.md" >}}) and our
[Acceptable Usage Policy (AUP)](https://git.data.coop/data.coop/dokumenter/src/branch/main/Acceptable%20Usage%20Policy.md)
before becoming a member.
If you have questions, you can find us on [Matrix or IRC](/about/) or [send an email to the board](mailto:board@data.coop).
If you have questions, you can find us on [Matrix or IRC]({{< ref "/about.md" >}}) or [send an email to the board](mailto:board@data.coop).
*English speakers:* We would love to have you as a member.
Many parts of this organization are already in English,

View file

@ -7,5 +7,5 @@ data.coop does not have a translation of its Danish statutes.
The reason is that we cannot guarantee that the democratic process that established the Danish statutes would understand an English translation in the same way.
While we work out this challenge,
we encourage that you use some auto-generated translation of the [Danish statutes](/rights/)
we encourage that you use some auto-generated translation of the [Danish statutes]({{< ref path="/rights.md" lang="da" >}})
and ask us questions about anything that would seem unclear.

View file

@ -5,10 +5,10 @@ title: Tjenester
Visse tjenester **data.coop** driver er kun for medlemmer, andre er åbne for alle.
Alle tjenester er benævnt med [badges](/services/#badges), der deklarerer i hvor høj grad den
Alle tjenester er benævnt med [badges]({{< ref "/services/#badges" >}}), der deklarerer i hvor høj grad den
enkelte tjeneste lever op til [kerneprincipperne defineret i formålsparagraffen
i vores vedtægter](/rights/#-2-formål).
i vores vedtægter]({{< ref "/rights.md#-2-formål" >}}).
Vi har skrevet en definition af [hvad de forskellige badges dækker over](/services/#badges).
Vi har skrevet en definition af [hvad de forskellige badges dækker over]({{< ref "/services/#badges" >}}).
Klik på hver tjenestes navn for at se detaljer:

View file

@ -1,10 +1,10 @@
<!doctype html>
<html lang="{{ site.Language }}">
<html lang="{{ .Site.Language.Lang }}">
{{ partial "head.html" . }}
<body>
<aside>
<header>
<a href="/"><img src="{{ printf "/static/img/logo_%s.svg" .Site.Language.Lang | absURL }}" alt="data coop logo" width="240" height="140"></a>
<a href="{{ .Site.Home.Permalink }}"><img src="/static/img/logo_{{ .Site.Language.Lang }}.svg" alt="data.coop logo" width="240" height="140"></a>
<div class="nav-toggle" id="nav-toggle-header">
<span id="nav-toggle-a"></span>

View file

@ -1,7 +1,6 @@
<h2 id="badges">{{ i18n "badges_headline" }}</h2>
<section class="badge-definitions">
{{/* TODO: This needs to be sensitive to current language */}}
{{- $translated_badges := index $.Site.Data.badges .Lang }}
{{ range $badge_key, $badge := $translated_badges.badges.badges }}

View file

@ -9,11 +9,11 @@
<meta name="description" content="{{ . }}">
{{ end }}
<link rel="apple-touch-icon" sizes="180x180" href="{{ "/static/img" | absURL }}/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="{{ "/static/img" | absURL }}/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="{{ "/static/img" | absURL }}/favicon-16x16.png">
<link rel="apple-touch-icon" sizes="180x180" href="/static/img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/static/img/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/static/img/favicon-16x16.png">
<link rel="manifest" href="{{ "" | absURL }}/site.webmanifest">
<link rel="mask-icon" href="{{ "/static/img" | absURL }}/safari-pinned-tab.svg" color="#4b3aba">
<link rel="mask-icon" href="/static/img/safari-pinned-tab.svg" color="#4b3aba">
<meta name="msapplication-TileColor" content="#4b3aba">
<meta name="theme-color" content="#4b3aba">
@ -21,5 +21,4 @@
<link rel="stylesheet" href="{{ $style.RelPermalink }}" integrity="{{ $style.Data.Integrity }}">
<title>{{ .Title }} | {{ .Site.Title }}</title>
</head>

View file

@ -3,7 +3,7 @@ license: "MIT"
licenselink: "https://github.com/zwbetz-gh/minimal-bootstrap-hugo-theme/blob/master/LICENSE"
description: "Yay data.coop theme - started with this one https://github.com/zwbetz-gh/minimal-bootstrap-hugo-theme/"
homepage: "https://data.coop"
tags: ["nice",]
tags: ["nice"]
features: ["responsive", "small page size", "fuck google", "no tracking"]
min_version: "0.60.1"