diff --git a/site/config.toml b/site/config.toml index 6c58312..3649620 100644 --- a/site/config.toml +++ b/site/config.toml @@ -120,6 +120,7 @@ DefaultContentLanguage = "en" promoButtonText = "Get promo material" promoButtonLink = "https://fsfe.org/promo#pmpc" shareText = "Tell your friends and followers about Public Code" + defaultSocialText = "If it is public money, it should be public code as well. I support this call for more public code under a Free Software license: " # Legal Section @@ -218,6 +219,7 @@ DefaultContentLanguage = "en" promoButtonText = "Promomaterial bestellen" promoButtonLink = "https://fsfe.org/promo#pmpc" shareText = "Erzähle Deinen Freunden und Followern von PMPC" + defaultSocialText = "Wenn es mit öffentlichem Geld bezahlt wird, muss es immer öffentlicher Code sein! Ich unterstütze diesen Aufruf, damit es mehr öffentlichen Code unter einer Freie-Software-Lizenz gibt: " # Legal Section [Languages.de.legal] by = "Eine Kampagne der Free Software Foundation Europe" diff --git a/site/data/de/share/2-gnusocial.yaml b/site/data/de/share/2-gnusocial.yaml index dff83cc..c929b62 100644 --- a/site/data/de/share/2-gnusocial.yaml +++ b/site/data/de/share/2-gnusocial.yaml @@ -3,3 +3,5 @@ name: GNU Social titleBefore: Auf titleAfter: teilen userinput: true +# This "customText" shouldn't have more than 115 characters! +customText: "Öffentliches Geld muss öffentlichen Code bedeuten! Ich unterstütze den Aufruf der @fsfe@quitter.no für mehr #publiccode: " diff --git a/site/data/de/share/4-twitter.yaml b/site/data/de/share/4-twitter.yaml index bfe841f..24b5d8a 100644 --- a/site/data/de/share/4-twitter.yaml +++ b/site/data/de/share/4-twitter.yaml @@ -2,3 +2,5 @@ id: twitter name: Twitter titleBefore: Auf titleAfter: teilen +# This "customText" must not have more than 115 characters! +customText: "Öffentliches Geld muss öffentlichen Code bedeuten! Ich unterstütze den Aufruf der @fsfe für mehr #publiccode: " diff --git a/site/data/en/share/2-gnusocial.yaml b/site/data/en/share/2-gnusocial.yaml index 8549b04..659784a 100644 --- a/site/data/en/share/2-gnusocial.yaml +++ b/site/data/en/share/2-gnusocial.yaml @@ -3,3 +3,5 @@ name: GNU Social titleBefore: Share on titleAfter: userinput: true +# This "customText" shouldn't have more than 115 characters! +customText: "If it is public money, it should be public code as well! I support @fsfe@quitter.no's call for more #publiccode: " diff --git a/site/data/en/share/4-twitter.yaml b/site/data/en/share/4-twitter.yaml index 3857759..1336986 100644 --- a/site/data/en/share/4-twitter.yaml +++ b/site/data/en/share/4-twitter.yaml @@ -2,3 +2,5 @@ id: twitter name: Twitter titleBefore: Share on titleAfter: +# This "customText" must not have more than 115 characters! +customText: "If it is public money, it should be public code as well! I support @fsfe's call for more #publiccode: " diff --git a/site/layouts/partials/spread.html b/site/layouts/partials/spread.html index bf77dfa..4bf41c6 100644 --- a/site/layouts/partials/spread.html +++ b/site/layouts/partials/spread.html @@ -22,8 +22,8 @@
- - + + {{ range $data.share }} @@ -33,14 +33,14 @@ - + {{ end }} {{ end }} {{ range $data.share }} {{ if ne .userinput true }} - + {{ end }} {{ end }}
diff --git a/site/static/js/creative.js b/site/static/js/creative.js index 9f4025e..86cae1e 100644 --- a/site/static/js/creative.js +++ b/site/static/js/creative.js @@ -39,3 +39,8 @@ new WOW().init(); })(jQuery); // End of use strict + +function changeTitle(val){ + document.getElementById('sharetitle-spread').value = val; + return true; +}