diff --git a/i18n/da.toml b/i18n/da.toml index 1b0af0e..7d5dd74 100644 --- a/i18n/da.toml +++ b/i18n/da.toml @@ -4,36 +4,11 @@ other = "Home" [generated_date] other = "Generateret med Hugo d. {{ . }}" -[services_status] -other = "Tjeneste Status" +[badges_headline] +other = "Badges" -[service_badges_status_positive] -other = "Positiv" -[service_badges_status_negative] -other = "Negativ" -[service_badges_status_partial] -other = "Delvis" - -[service_badge_stability] -other = "Stabilitet" - -[service_badge_connection_security] -other = "Sikker forbindelse" - -[service_badge_connection_anonymous] -other = "Anonym adgang" - -[service_badge_storage_encrypted] -other = "Krypteret opbevaring af data" - -[service_badge_zero_knowledge] -other = "Zero knowledge" - -[service_badge_storage_backup] -other = "Backup" - -[service_badge_logging] -other = "Logning" +[status_headline] +other = "Status" [tagline] other = "vores data i vores hænder" diff --git a/themes/datacoop2020/layouts/partials/badges.html b/themes/datacoop2020/layouts/partials/badges.html new file mode 100644 index 0000000..3637d45 --- /dev/null +++ b/themes/datacoop2020/layouts/partials/badges.html @@ -0,0 +1,26 @@ +

{{ i18n "badges_headline" }}

+ +
+ +{{ range $badge_key, $badge := $.Site.Data.badges.da.badges.badges }} + +
{{ title .name }}
+ +
{{ markdownify .description }}
+ +{{ end }} + +
+ +

{{ i18n "status_headline" }}

+ +
+{{ range $.Site.Data.badges.da.status.status }} + +
{{ title .name }}
+ +
{{ markdownify .description }}
+ +{{ end }} +
+ diff --git a/themes/datacoop2020/layouts/services/list.html b/themes/datacoop2020/layouts/services/list.html index 218cb26..d0853af 100644 --- a/themes/datacoop2020/layouts/services/list.html +++ b/themes/datacoop2020/layouts/services/list.html @@ -13,5 +13,10 @@ {{ end }} + + +{{ partial "badges.html" . }} {{- end -}} + +