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
|
||||
title: Forgejo
|
||||
service_url: https://git.data.coop
|
||||
service_badges:
|
||||
stability: positive
|
||||
secure_connection: positive
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
layout: page
|
||||
title: Forgejo
|
||||
service_url: https://git.data.coop
|
||||
service_badges:
|
||||
stability: positive
|
||||
secure_connection: positive
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
layout: page
|
||||
title: HedgeDoc
|
||||
service_url: https://pad.data.coop
|
||||
service_badges:
|
||||
stability: positive
|
||||
connection_security: positive
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
layout: page
|
||||
title: HedgeDoc
|
||||
service_url: https://pad.data.coop
|
||||
service_badges:
|
||||
stability: positive
|
||||
connection_security: positive
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
layout: page
|
||||
title: Mastodon
|
||||
service_url: https://social.data.coop
|
||||
service_badges:
|
||||
stability: positive
|
||||
connection_security: positive
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
layout: page
|
||||
title: Mastodon
|
||||
service_url: https://social.data.coop
|
||||
service_badges:
|
||||
stability: positive
|
||||
connection_security: positive
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
layout: page
|
||||
title: Nextcloud
|
||||
service_url: https://cloud.data.coop
|
||||
service_badges:
|
||||
stability: positive
|
||||
connection_security: positive
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
layout: page
|
||||
title: Nextcloud
|
||||
service_url: https://cloud.data.coop
|
||||
service_badges:
|
||||
stability: positive
|
||||
connection_security: positive
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
layout: page
|
||||
title: Passit
|
||||
service_url: https://passit.data.coop
|
||||
service_badges:
|
||||
stability: positive
|
||||
connection_security: positive
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
layout: page
|
||||
title: Passit
|
||||
service_url: https://passit.data.coop
|
||||
service_badges:
|
||||
stability: positive
|
||||
connection_security: positive
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
layout: page
|
||||
title: PrivateBin
|
||||
service_url: https://paste.data.coop
|
||||
service_badges:
|
||||
stability: positive
|
||||
connection_security: positive
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
layout: page
|
||||
title: PrivateBin
|
||||
service_url: https://paste.data.coop
|
||||
service_badges:
|
||||
stability: positive
|
||||
connection_security: positive
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
layout: page
|
||||
title: Rallly
|
||||
service_url: https://when.data.coop
|
||||
service_badges:
|
||||
stability: positive
|
||||
connection_security: positive
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
layout: page
|
||||
title: Rallly
|
||||
service_url: https://when.data.coop
|
||||
service_badges:
|
||||
stability: positive
|
||||
connection_security: positive
|
||||
|
|
|
@ -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>"
|
||||
|
|
|
@ -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>"
|
||||
|
|
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>
|
||||
{{ $summary := index (split .Content "</p>") 0 }}
|
||||
{{ $summary | plainify }}
|
||||
<br />
|
||||
{{ partial "service-url.html" .}}
|
||||
</dd>
|
||||
|
||||
{{ end }}
|
||||
</dl>
|
||||
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
|
||||
{{ .Content }}
|
||||
|
||||
<h3>{{ partial "service-url.html" . }}</h3>
|
||||
|
||||
{{- $page_params := .Params }}
|
||||
{{- $translated_badges := index $.Site.Data.badges .Lang }}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue