Adding URLs to the individual services, both in list view and in single view. This is tranlated in both the english and danish versions of the site.

This commit is contained in:
Halfdan 2025-02-15 17:07:53 +01:00
parent 8e3bf629f8
commit cdce4e0760
19 changed files with 27 additions and 1 deletions

View file

@ -1,6 +1,7 @@
---
layout: page
title: Forgejo
service_url: https://git.data.coop
service_badges:
stability: positive
secure_connection: positive

View file

@ -1,6 +1,7 @@
---
layout: page
title: Forgejo
service_url: https://git.data.coop
service_badges:
stability: positive
secure_connection: positive

View file

@ -1,6 +1,7 @@
---
layout: page
title: HedgeDoc
service_url: https://pad.data.coop
service_badges:
stability: positive
connection_security: positive

View file

@ -1,6 +1,7 @@
---
layout: page
title: HedgeDoc
service_url: https://pad.data.coop
service_badges:
stability: positive
connection_security: positive

View file

@ -1,6 +1,7 @@
---
layout: page
title: Mastodon
service_url: https://social.data.coop
service_badges:
stability: positive
connection_security: positive

View file

@ -1,6 +1,7 @@
---
layout: page
title: Mastodon
service_url: https://social.data.coop
service_badges:
stability: positive
connection_security: positive

View file

@ -1,6 +1,7 @@
---
layout: page
title: Nextcloud
service_url: https://cloud.data.coop
service_badges:
stability: positive
connection_security: positive

View file

@ -1,6 +1,7 @@
---
layout: page
title: Nextcloud
service_url: https://cloud.data.coop
service_badges:
stability: positive
connection_security: positive

View file

@ -1,6 +1,7 @@
---
layout: page
title: Passit
service_url: https://passit.data.coop
service_badges:
stability: positive
connection_security: positive

View file

@ -1,6 +1,7 @@
---
layout: page
title: Passit
service_url: https://passit.data.coop
service_badges:
stability: positive
connection_security: positive

View file

@ -1,6 +1,7 @@
---
layout: page
title: PrivateBin
service_url: https://paste.data.coop
service_badges:
stability: positive
connection_security: positive

View file

@ -1,6 +1,7 @@
---
layout: page
title: PrivateBin
service_url: https://paste.data.coop
service_badges:
stability: positive
connection_security: positive

View file

@ -1,6 +1,7 @@
---
layout: page
title: Rallly
service_url: https://when.data.coop
service_badges:
stability: positive
connection_security: positive

View file

@ -1,6 +1,7 @@
---
layout: page
title: Rallly
service_url: https://when.data.coop
service_badges:
stability: positive
connection_security: positive

View file

@ -22,3 +22,6 @@ other = "positiv"
other = "negativ"
[service_badges_status_partial]
other = "delvis"
[service_url_text]
other = "Du kan finde <em>{{.Service_name}}</em> på <a href='{{.Service_url}}'>{{.Service_url}}</a>"

View file

@ -12,3 +12,6 @@ other = "Negative"
[tagline]
other = "our data in our hands"
[service_url_text]
other = "You can find <em>{{.Service_name}}</em> at <a href='{{.Service_url}}'>{{.Service_url}}</a>"

View file

@ -0,0 +1,3 @@
{{ if .Params.Service_url }}
{{ i18n "service_url_text" (dict "Service_name" .Title "Service_url" .Params.Service_url) | safeHTML }}
{{ end }}

View file

@ -11,8 +11,9 @@
<dd>
{{ $summary := index (split .Content "</p>") 0 }}
{{ $summary | plainify }}
<br />
{{ partial "service-url.html" .}}
</dd>
{{ end }}
</dl>

View file

@ -4,6 +4,8 @@
{{ .Content }}
<h3>{{ partial "service-url.html" . }}</h3>
{{- $page_params := .Params }}
{{- $translated_badges := index $.Site.Data.badges .Lang }}