diff --git a/i18n/de.yaml b/i18n/de.yaml index 2527843..a64cca1 100644 --- a/i18n/de.yaml +++ b/i18n/de.yaml @@ -1,5 +1,23 @@ -- id: references - translation: "Referenzen" +- id: home_what_we_do + translation: "Was wir machen" +- id: home_teaser + translation: "Wir unterstützen Unternehmen, Behörden und Open-Source-Projekte dabei, die CO2-Emissionen ihrer digitalen Dienste zu analysieren und zu reduzieren, um umweltfreundlichere digitale Lösungen zu fördern." +- id: home_cta + translation: "👉 Mehr Details" +- id: home_about_details + translation: "Mehr erfahren über die CO2-Emissionen von Software" +- id: home_what_we_do + translation: "Was wir machen" +- id: home_projects + translation: "Projekte" +- id: home_projects_teaser + translation: "Wir entwickeln Werkzeuge, die es Entwicklern und Anwendern ermöglichen Optimierungen zu machenum den Energieverbrauch und CO2-Emissionen zu senken" +- id: home_talks_teaser + translation: "Eine Auswahl unserer letzten Events und Veranstaltungen" +- id: home_talks_full_list + translation: "Alle Events und Veranstaltungen" + + - id: about translation: Über @@ -18,4 +36,7 @@ - id: team translation: Team - id: list_orgs - translation: "Eine sorgfältig ausgewählte Liste von Organisationen, mit denen wir zusammengearbeitet haben oder bei denen wir Vorträge gehalten haben." \ No newline at end of file + translation: "Eine ausgewählte Liste von Organisationen, mit denen wir zusammengearbeitet haben oder bei denen wir Vorträge gehalten haben." + +- id: references + translation: "Referenzen" diff --git a/i18n/en.yaml b/i18n/en.yaml index ca2d45c..dbd53ee 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -1,9 +1,20 @@ +- id: home_what_we_do + translation: "What we do" - id: home_teaser translation: "We help companies, goverment bodies and open source communites to understand and optimize the carbon emissions of their digital services" - id: home_cta translation: "👉 See our services" -- id: references - translation: "References" +- id: home_about_details + translation: "Read some details about the carbon emissions of software" +- id: home_projects + translation: "Projects" +- id: home_projects_teaser + translation: "We develop tools to empower developers and users to reduce energy and carbon emissons of software" +- id: home_talks_teaser + translation: "Browse through our latest events and watch recordings (if available :) )" +- id: home_talks_full_list + translation: "For a full list" + - id: about translation: Über @@ -22,4 +33,7 @@ - id: team translation: Team - id: list_orgs - translation: "A curated list of organizations we have been working with or have been giving talks at." \ No newline at end of file + translation: "A curated list of organizations we have been working with or have been giving talks at." + +- id: references + translation: "References" diff --git a/layouts/home.de.html b/layouts/home.de.html deleted file mode 100644 index 04900a2..0000000 --- a/layouts/home.de.html +++ /dev/null @@ -1,112 +0,0 @@ -{{ define "site-navigation" }} -{{/* We can override any block in the baseof file be defining it in the template */}} -{{ partial "site-navigation.html" . }} -{{ end }} -{{ define "main" }} - -
- -
-
-

Wir unterstützen Unternehmen, Behörden und Open-Source-Projekte dabei, die CO2-Emissionen ihrer digitalen Dienste zu analysieren und zu reduzieren, um umweltfreundlichere digitale Lösungen zu fördern.

- -
-
-
-
- -
-
-
- -
-

Unsere Projekte

-
-
-
-
- Wir entwickeln Werkzeuge, die Entwickler und Anwender befähigen, Entscheidungen zu treffen, die sich bewusst auf Energieverbrauch und CO2-Emissionen auswirken. -
-
- {{/* - In an untranslated page this call would be ... where .Site.RegularPages "Type" ... - But since the Site object changes depending on the current language we will get an empty folder - if a folder is not fully translated - */}} - - {{ range $index, $element := ( first 9 ( where .Site.RegularPages "Type" "projects" ) ) }} - - -
{{ .Title }}
-
- {{end}} -
- -
- -
- -{{ partialCached "team.html" . }} - -
- -
-
-

Talks & Events

-
-
-
-
- Durchstöbern Sie unsere neuesten Veranstaltungen und schauen Sie sich Aufzeichnungen an (falls verfügbar :)
- Für eine vollständige Liste: 👉 - Alle unsere Vorträge & Veranstaltungen -
-
-
-
-
-
- - {{/* - In an untranslated page this call would be ... where .Site.RegularPages "Type" ... - But since the Site object changes depending on the current language we will get an empty folder - if a folder is not fully translated - - */}} - {{ range $index, $element := ( first 9 ( where .Sites.First.RegularPages "Type" "talks-and-events" ) ) }} - - {{end}} -
-
- -
-
-
-
-
-
-
-
- -{{ partialCached "references.html" . }} - -{{ end }} \ No newline at end of file diff --git a/layouts/home.html b/layouts/home.html index a90dd54..d076364 100644 --- a/layouts/home.html +++ b/layouts/home.html @@ -2,33 +2,33 @@
-
What we do
+
{{ i18n "home_what_we_do" }}

{{ i18n "home_teaser" }}

-

Our Projects

+

{{ i18n "home_projects" }}

- We develop tools to empower developers and users to make energy and carbon concious decisions + {{ i18n "home_projects_teaser" }}
{{/* @@ -60,9 +60,7 @@

Talks & Events

- Browse through our latest events and watch recordings (if available :) )
- For a full list: 👉 All - our Talks & Events + {{ i18n "home_talks_teaser" }}
@@ -94,11 +92,11 @@

Talks & Events

{{end}}
- -
-
-
-
+
+ 👉 {{ i18n "home_talks_full_list" }} +
+ + diff --git a/layouts/talks-and-events/section.de.html b/layouts/talks-and-events/section.de.html deleted file mode 100644 index fbee5b4..0000000 --- a/layouts/talks-and-events/section.de.html +++ /dev/null @@ -1,21 +0,0 @@ -{{ define "main" }} -
-
-
-
Talks & Events
-
- {{ $paginator := (.Paginate ( where .Site.RegularPages "Type" "talks-and-events" ) ) }} - {{ range $paginator.Pages.ByDate.Reverse }} -
-

{{.Title}}

-
- {{ .Summary }} [...] -
- - {{end}} - {{ template "_internal/pagination.html" . }} -
-
-
- -{{ end }}