Add imprint/legal section, issue #14

lektura
max.mehl 2017-03-21 12:52:42 +01:00
parent b36fd595ad
commit eab46b5165
4 changed files with 41 additions and 0 deletions

View File

@ -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."

View File

@ -36,6 +36,8 @@
{{ if .Site.Params.language }}
{{ partial "language.html" . }}
{{ end }}
{{ partial "legal.html" . }}
{{ if $data.resources }}
{{ partial "modals.html" . }}

View File

@ -0,0 +1,11 @@
{{ "<!-- LEGAL -->" | safeHTML }}
<section id="legal">
<div class="text-center">
<p>{{ .Site.Params.legal.by }} (<a href="https://fsfe.org/index.{{ .Lang }}.html" target="_blank">FSFE</a>)
<a href="https://fsfe.org/about/legal/imprint.{{ .Lang }}.html" target="_blank">{{ .Site.Params.legal.imprint }}</a>
| <a href="https://fsfe.org/about/legal/imprint.{{ .Lang }}.html#id-privacy-policy" target="_blank">{{ .Site.Params.legal.privacy }}</a>
| <a href="https://fsfe.org/about/transparency-commitment.{{ .Lang }}.html" target="_blank">{{ .Site.Params.legal.transparency }}</a>
Copyright &copy; {{ (now).Year }}</p>
<p>{{ .Site.Params.legal.license }}</p>
</div>
</section>

View File

@ -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;