diff --git a/config.toml b/config.toml index 0197d87..98eeb47 100644 --- a/config.toml +++ b/config.toml @@ -88,6 +88,14 @@ DefaultContentLanguage = "en" phone = "123-456-6789" email = "feedback@startbootstrap.com" +# Legal Section +[params.legal] + by = "This is a campaign by Free Software Foundation Europe" + imprint = "Imprint" + privacy = "Privacy" + transparency = "Transparency" + license = "Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved." + # === TRANSLATIONS === [Languages] @@ -151,3 +159,10 @@ DefaultContentLanguage = "en" promoButtonText = "Promomaterial bestellen" promoButtonLink = "https://fsfe.org/promo#pmpc" shareText = "Erzähle Deinen Freunden und Followern von PMPC" +# Legal Section +[Languages.de.legal] + by = "Eine Kampagne der Free Software Foundation Europe" + imprint = "Impressum" + privacy = "Datenschutz" + transparency = "Transparenz" + license = "Die unveränderte Wiedergabe und Verteilung dieses gesamten Textes in beliebiger Form ist gestattet, sofern dieser Hinweis erhalten bleibt." diff --git a/layouts/index.html b/layouts/index.html index 43d741d..5bf32e8 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -36,6 +36,8 @@ {{ if .Site.Params.language }} {{ partial "language.html" . }} {{ end }} + + {{ partial "legal.html" . }} {{ if $data.resources }} {{ partial "modals.html" . }} diff --git a/layouts/partials/legal.html b/layouts/partials/legal.html new file mode 100644 index 0000000..69845cb --- /dev/null +++ b/layouts/partials/legal.html @@ -0,0 +1,11 @@ +{{ "" | safeHTML }} + diff --git a/static/css/custom.css b/static/css/custom.css index 9de2ece..d208bc0 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -18,6 +18,19 @@ content: "› "; } +/* LEGAL SECTION */ +#legal { + color: #fff; + background-color: #000; + padding: 10px; + margin: 0px; +} +#legal p { + padding: 0px; + margin: 0px; + font-size: 0.8em; +} + /* SHARE BUTTONS IN "SPREAD THE WORD" SECTION */ .share-buttons a { background-position: left 5px center;