Add imprint/legal section, issue #14
parent
b36fd595ad
commit
eab46b5165
15
config.toml
15
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."
|
||||
|
|
|
@ -37,6 +37,8 @@
|
|||
{{ partial "language.html" . }}
|
||||
{{ end }}
|
||||
|
||||
{{ partial "legal.html" . }}
|
||||
|
||||
{{ if $data.resources }}
|
||||
{{ partial "modals.html" . }}
|
||||
{{ end }}
|
||||
|
|
|
@ -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 © {{ (now).Year }}</p>
|
||||
<p>{{ .Site.Params.legal.license }}</p>
|
||||
</div>
|
||||
</section>
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue