Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/danielkvist/hugo-terrassa-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--exampleSite/config.toml12
1 files changed, 12 insertions, 0 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 394a05f..822e614 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -105,3 +105,15 @@ themesDir = "../.." # Not necessary on production sites
contentDir = "content/de"
title = "Das ist der deutsche Titel"
description = "Das ist die deutsche Beschreibung"
+ [languages.de.params]
+ [languages.de.params.form] # Translate contact form fields
+ inputNameLabel = "Name"
+ inputNamePlaceholder = "Dein Name"
+ inputEmailLabel = "E-mail"
+ inputEmailPlaceholder = "Deine E-Mail-Adresse"
+ inputMsgLabel = "Schreib etwas"
+ inputSubmitValue = "Abschicken"
+ [languages.de.params.cta] # Translate Call To Action
+ show = true
+ cta = "Kontakt"
+ link = "de/kontakt/" # Relative URL