Merge pull request '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.' (#141) from feature/links-to-services into main
Reviewed-on: https://git.data.coop/data.coop/website/pulls/141
This commit is contained in:
commit
bc4502e1ee
19 changed files with 27 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
layout: page
|
layout: page
|
||||||
title: Forgejo
|
title: Forgejo
|
||||||
|
service_url: https://git.data.coop
|
||||||
service_badges:
|
service_badges:
|
||||||
stability: positive
|
stability: positive
|
||||||
secure_connection: positive
|
secure_connection: positive
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
layout: page
|
layout: page
|
||||||
title: Forgejo
|
title: Forgejo
|
||||||
|
service_url: https://git.data.coop
|
||||||
service_badges:
|
service_badges:
|
||||||
stability: positive
|
stability: positive
|
||||||
secure_connection: positive
|
secure_connection: positive
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
layout: page
|
layout: page
|
||||||
title: HedgeDoc
|
title: HedgeDoc
|
||||||
|
service_url: https://pad.data.coop
|
||||||
service_badges:
|
service_badges:
|
||||||
stability: positive
|
stability: positive
|
||||||
connection_security: positive
|
connection_security: positive
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
layout: page
|
layout: page
|
||||||
title: HedgeDoc
|
title: HedgeDoc
|
||||||
|
service_url: https://pad.data.coop
|
||||||
service_badges:
|
service_badges:
|
||||||
stability: positive
|
stability: positive
|
||||||
connection_security: positive
|
connection_security: positive
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
layout: page
|
layout: page
|
||||||
title: Mastodon
|
title: Mastodon
|
||||||
|
service_url: https://social.data.coop
|
||||||
service_badges:
|
service_badges:
|
||||||
stability: positive
|
stability: positive
|
||||||
connection_security: positive
|
connection_security: positive
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
layout: page
|
layout: page
|
||||||
title: Mastodon
|
title: Mastodon
|
||||||
|
service_url: https://social.data.coop
|
||||||
service_badges:
|
service_badges:
|
||||||
stability: positive
|
stability: positive
|
||||||
connection_security: positive
|
connection_security: positive
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
layout: page
|
layout: page
|
||||||
title: Nextcloud
|
title: Nextcloud
|
||||||
|
service_url: https://cloud.data.coop
|
||||||
service_badges:
|
service_badges:
|
||||||
stability: positive
|
stability: positive
|
||||||
connection_security: positive
|
connection_security: positive
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
layout: page
|
layout: page
|
||||||
title: Nextcloud
|
title: Nextcloud
|
||||||
|
service_url: https://cloud.data.coop
|
||||||
service_badges:
|
service_badges:
|
||||||
stability: positive
|
stability: positive
|
||||||
connection_security: positive
|
connection_security: positive
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
layout: page
|
layout: page
|
||||||
title: Passit
|
title: Passit
|
||||||
|
service_url: https://passit.data.coop
|
||||||
service_badges:
|
service_badges:
|
||||||
stability: positive
|
stability: positive
|
||||||
connection_security: positive
|
connection_security: positive
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
layout: page
|
layout: page
|
||||||
title: Passit
|
title: Passit
|
||||||
|
service_url: https://passit.data.coop
|
||||||
service_badges:
|
service_badges:
|
||||||
stability: positive
|
stability: positive
|
||||||
connection_security: positive
|
connection_security: positive
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
layout: page
|
layout: page
|
||||||
title: PrivateBin
|
title: PrivateBin
|
||||||
|
service_url: https://paste.data.coop
|
||||||
service_badges:
|
service_badges:
|
||||||
stability: positive
|
stability: positive
|
||||||
connection_security: positive
|
connection_security: positive
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
layout: page
|
layout: page
|
||||||
title: PrivateBin
|
title: PrivateBin
|
||||||
|
service_url: https://paste.data.coop
|
||||||
service_badges:
|
service_badges:
|
||||||
stability: positive
|
stability: positive
|
||||||
connection_security: positive
|
connection_security: positive
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
layout: page
|
layout: page
|
||||||
title: Rallly
|
title: Rallly
|
||||||
|
service_url: https://when.data.coop
|
||||||
service_badges:
|
service_badges:
|
||||||
stability: positive
|
stability: positive
|
||||||
connection_security: positive
|
connection_security: positive
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
layout: page
|
layout: page
|
||||||
title: Rallly
|
title: Rallly
|
||||||
|
service_url: https://when.data.coop
|
||||||
service_badges:
|
service_badges:
|
||||||
stability: positive
|
stability: positive
|
||||||
connection_security: positive
|
connection_security: positive
|
||||||
|
|
|
@ -22,3 +22,6 @@ other = "positiv"
|
||||||
other = "negativ"
|
other = "negativ"
|
||||||
[service_badges_status_partial]
|
[service_badges_status_partial]
|
||||||
other = "delvis"
|
other = "delvis"
|
||||||
|
|
||||||
|
[service_url_text]
|
||||||
|
other = "Du kan finde <em>{{.Service_name}}</em> på <a href='{{.Service_url}}'>{{.Service_url}}</a>"
|
||||||
|
|
|
@ -12,3 +12,6 @@ other = "Negative"
|
||||||
|
|
||||||
[tagline]
|
[tagline]
|
||||||
other = "our data in our hands"
|
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>"
|
||||||
|
|
3
themes/datacoop2020/layouts/partials/service-url.html
Normal file
3
themes/datacoop2020/layouts/partials/service-url.html
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{{ if .Params.Service_url }}
|
||||||
|
{{ i18n "service_url_text" (dict "Service_name" .Title "Service_url" .Params.Service_url) | safeHTML }}
|
||||||
|
{{ end }}
|
|
@ -11,8 +11,9 @@
|
||||||
<dd>
|
<dd>
|
||||||
{{ $summary := index (split .Content "</p>") 0 }}
|
{{ $summary := index (split .Content "</p>") 0 }}
|
||||||
{{ $summary | plainify }}
|
{{ $summary | plainify }}
|
||||||
|
<br />
|
||||||
|
{{ partial "service-url.html" .}}
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,8 @@
|
||||||
|
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
|
|
||||||
|
<h3>{{ partial "service-url.html" . }}</h3>
|
||||||
|
|
||||||
{{- $page_params := .Params }}
|
{{- $page_params := .Params }}
|
||||||
{{- $translated_badges := index $.Site.Data.badges .Lang }}
|
{{- $translated_badges := index $.Site.Data.badges .Lang }}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue