betterplace-content 0.3.12 → 0.3.13

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 45fd461b478b706703a29cfb92362401b2e0cb77
4
- data.tar.gz: cb66bd4157c5906ae6c47c9223747cc516f81153
3
+ metadata.gz: aab90c6f1aaf260b3edc78b545386991d570c544
4
+ data.tar.gz: 71bce4b2463bba27717396ad0527d67e93cdcf6d
5
5
  SHA512:
6
- metadata.gz: 0775073cc55d52899d9ca59f74ae166c21ad0d3dc3a406c389df8ba0a79a0267201d036c84262991e8e4e72fefd6f6797e3abe42fb0e3fa1f03181ccc01d1f33
7
- data.tar.gz: a1fc447f13eef39f3ecd53e444e4ab8f083161c99e2cea7f3fbfcc82cb029b62a573b9d39c57935426f7ca55c0ef228797ac2b5b6e5a327050235f367c8b7249
6
+ metadata.gz: 9a60ab7ac0e8b987a1e7fe81549683d0471acb7ca8e6f788b5e41fe576102c8c856a7b39b2c1dfbc345e8cd61774c162ca8c99be4e718ddacfdbdbc0c5a7486b
7
+ data.tar.gz: '0805c4a114ccecceb674d763307dc93eb987080d5cfb706265c1719b9776e3cbcd9e959097aa235d79cf19a4d3f062e82caa73c9507e80607d3b89f656111ca5'
@@ -1,9 +1,9 @@
1
1
  <footer class="generic-graphic-background is-small"><div class="tax-receipt-hint"><div class="container"><div class="row"><div class="col-md-24">Deine Spendenbescheinigung für 2017 wird Ende Februar 2018 versendet.
2
2
  <a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;navigation footer&#39;, &#39;/c/hilfe/meine-spendenbescheinigung/&#39;);" href="/c/hilfe/meine-spendenbescheinigung">Mehr erfahren…</a></div></div></div></div><div class="container"><nav class="row"><div class="col-md-6" id="accordion"><div aria-expanded="false" class="headline collapsed with-mobile-border" data-parent="#accordion" data-target="[data-name=footer-menu-1]" data-toggle="collapse" role="button">Über uns</div><ul class="collapse with-mobile-border" data-name="footer-menu-1"><li><a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;navigation footer&#39;, &#39;/c/ueber-uns&#39;);" href="/c/ueber-uns">Was ist betterplace.org?</a></li><li><a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;navigation footer&#39;, &#39;/c/neues/&#39;);" href="/c/neues">Blog &amp; Neuigkeiten</a></li><li><a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;navigation footer&#39;, &#39;/c/unser-team&#39;);" href="/c/unser-team">Das Team</a></li><li><a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;navigation footer&#39;, &#39;/c/stellen&#39;);" href="/c/stellen">Stellen</a></li><li><a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;navigation footer&#39;, &#39;/c/medien/&#39;);" href="/c/medien">Presse</a></li><li class="hidden-xs"><a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;navigation footer&#39;, &#39;/c/kontakt/&#39;);" href="/c/kontakt">Kontakt &amp; Impressum</a></li><li><a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;navigation footer&#39;, &#39;https://api-docs.betterplace.org/&#39;);" href="https://api-docs.betterplace.org">API</a></li></ul><div class="caret-icon i fa fa-angle-down"></div></div><div class="col-md-6"><div class="row"><div class="col-md-24"><ul class="with-mobile-border"><li><div aria-expanded="false" class="headline collapsed" data-parent="#accordion" data-target="[data-name=footer-menu-2]" data-toggle="collapse" role="button">Spenden sammeln</div></li></ul><ul class="collapse with-mobile-border" data-name="footer-menu-2"><li><a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;navigation footer&#39;, &#39;/de/collect-donations/online-fundraising&#39;);" href="/de/collect-donations/online-fundraising">Für gemeinnützige Organisationen</a></li><li><a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;navigation footer&#39;, &#39;/de/collect-donations/marathon-fundraising-events&#39;);" href="/de/collect-donations/marathon-fundraising-events">Spendenaktion zum Marathon</a></li><li><a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;navigation footer&#39;, &#39;/de/collect-donations/birthday-fundraising-events&#39;);" href="/de/collect-donations/birthday-fundraising-events">Spendenaktion zum Geburtstag</a></li><li><a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;navigation footer&#39;, &#39;/c/hilfe/anlass-spa&#39;);" href="/c/hilfe/anlass-spa">Spendenaktion allgemein</a></li></ul><div class="caret-icon i fa fa-angle-down"></div></div></div><div class="row"><div class="col-md-24"><div aria-expanded="false" class="headline collapsed with-mobile-border is-not-first" data-parent="#accordion" data-target="[data-name=footer-menu-3]" data-toggle="collapse" role="button">Ehrenamt</div><ul class="collapse with-mobile-border" data-name="footer-menu-3"><li><a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;navigation footer&#39;, &#39;/de/discover-volunteering#open&#39;);" href="/de/discover-volunteering#open">Ehrenamt finden</a></li><li><a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;navigation footer&#39;, &#39;/de/collect-donations/volunteering&#39;);" href="/de/collect-donations/volunteering">Ehrenamtliche suchen</a></li></ul><div class="caret-icon i fa fa-angle-down"></div></div></div></div><div class="col-md-6"><div aria-expanded="false" class="headline collapsed with-mobile-border" data-parent="#accordion" data-target="[data-name=footer-menu-4]" data-toggle="collapse" role="button">Hilfe</div><ul class="collapse with-mobile-border" data-name="footer-menu-4"><li><a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;navigation footer&#39;, &#39;/c/hilfe/themen/spender/&#39;);" href="/c/hilfe/themen/spender">Hilfe für Spender</a></li><li><a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;navigation footer&#39;, &#39;/c/hilfe/themen/spendensammler/&#39;);" href="/c/hilfe/themen/spendensammler">Hilfe für Projektveranwortliche</a></li><li><a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;navigation footer&#39;, &#39;/c/botschafter&#39;);" href="/c/botschafter">Botschafter vor Ort</a></li><li><a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;navigation footer&#39;, &#39;/c/regeln&#39;);" href="/c/regeln">AGB und Datenschutzbestimmungen</a></li><li><a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;no-tracking-specified&#39;, &#39;transaction cost link&#39;);" class="larger-click-area" href="/c/hilfe/wann-fallen-transaktionskosten-an">Hinweis zu Transaktionskosten</a></li><li><a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;navigation footer&#39;, &#39;/c/hilfe/themen/partnerplattformen/&#39;);" href="/c/hilfe/themen/partnerplattformen">Partnerplattformen</a></li></ul><div class="caret-icon i fa fa-angle-down"></div></div><div class="col-md-6"><div aria-expanded="false" class="headline collapsed with-mobile-border" data-parent="#accordion" data-target="[data-name=footer-menu-5]" data-toggle="collapse" role="button">Für gute Unternehmen</div><ul class="collapse" data-name="footer-menu-5"><li><a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;navigation footer&#39;, &#39;http://www.betterplace-solutions.de/spendenaktion-mit-mitarbeitern/&#39;);" href="http://www.betterplace-solutions.de/spendenaktion-mit-mitarbeitern/">Engagement mit Mitarbeitern</a></li><li><a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;navigation footer&#39;, &#39;http://www.betterplace-solutions.de/spendengutschein/&#39;);" href="http://www.betterplace-solutions.de/spendengutschein/">Engagement mit Kunden</a></li><li><a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;navigation footer&#39;, &#39;http://www.betterplace-solutions.de/verdoppelungsaktion/&#39;);" href="http://www.betterplace-solutions.de/verdoppelungsaktion/">Engagement für soziale Projekte </a></li></ul><div class="caret-icon i fa fa-angle-down"></div></div><div class="col-xs-24 hidden-md hidden-lg"><a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;navigation footer&#39;, &#39;/c/kontakt/&#39;);" class="headline" href="/c/kontakt">Kontakt &amp; Impressum</a></div></nav></div><div class="container"><div class="row"><div class="col-md-16"><img width="190" src="https://asset1.betterplace.org/assets/logos/layout-logo-043547a61760a5d12e23755a92b89aa35bb2f4f11c201adb7939c7811f2b4623.svg" alt="Layout logo" /><p class="claim">betterplace.org ist gemeinnützig und arbeitet nicht profitorientiert.</p><p class="subline">Unsere Bezahlmöglichkeiten: PayPal, Bankeinzug, Kreditkarte, paydirekt, Überweisung.<br>
3
3
  USt-IdNr.: DE269446682</p><p class="subline">Unsere Website verwendet Cookies vom Drittanbieter „Outbrain“, um für Dich interessantes Werbematerial bereitzustellen. <a href="/c/hilfe/outbrain-cookies">Mehr dazu…</a></p></div><div class="col-md-8"><div class="generic-social-media-buttons is-neutral is-small"><a onclick="ga(&#39;send&#39;, &#39;social&#39;, { &#39;socialNetwork&#39;: &#39;facebook&#39;, &#39;socialAction&#39;: &#39;share&#39;, &#39;socialTarget&#39;: &#39;https://www.facebook.com/betterplace.org&#39;});ga(&#39;send&#39;, &#39;event&#39;, &#39;social_sharing&#39;, &#39;facebook&#39;, &#39;footer-social-sharing-icons&#39;);" target="_blank" class="social-media-button facebook" title="Facebook" href="https://www.facebook.com/betterplace.org"></a><a onclick="ga(&#39;send&#39;, &#39;social&#39;, { &#39;socialNetwork&#39;: &#39;twitter&#39;, &#39;socialAction&#39;: &#39;share&#39;, &#39;socialTarget&#39;: &#39;https://twitter.com/betterplace_org&#39;});ga(&#39;send&#39;, &#39;event&#39;, &#39;social_sharing&#39;, &#39;twitter&#39;, &#39;footer-social-sharing-icons&#39;);" target="_blank" class="social-media-button twitter" title="Twitter" href="https://twitter.com/betterplace_org"></a><a onclick="ga(&#39;send&#39;, &#39;social&#39;, { &#39;socialNetwork&#39;: &#39;instagram&#39;, &#39;socialAction&#39;: &#39;share&#39;, &#39;socialTarget&#39;: &#39;https://www.instagram.com/betterplace_org/&#39;});ga(&#39;send&#39;, &#39;event&#39;, &#39;social_sharing&#39;, &#39;instagram&#39;, &#39;footer-social-sharing-icons&#39;);" target="_blank" class="social-media-button instagram" title="Instagram" href="https://www.instagram.com/betterplace_org/"></a></div>
4
- {% if page.translation_path %}
4
+ {% if page.translation_url %}
5
5
  <span class="language-switch">
6
- <a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;navigation header&#39;, &#39;/c/{{page.translation_path}}&#39;);" class="language-switcher" href="/c/{{page.translation_path}}">English</a>
6
+ <a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;navigation header&#39;, &#39;{{ page.translation_url | replace:'https://www.betterplace.org','' }}&#39;);" class="language-switcher" href="{{ page.translation_url | replace:'https://www.betterplace.org',style_host }}">English</a>
7
7
  </span>
8
8
  {% else %}
9
9
  <span class="language-switch">
@@ -1,8 +1,8 @@
1
1
  <footer class="generic-graphic-background is-small"><div class="tax-receipt-hint"><div class="container"><div class="row"><div class="col-md-24">Your donation receipt for 2017 will be sent to you in February 2018. <a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;navigation footer&#39;, &#39;/c/help/my-tax-receipt/&#39;);" href="/c/help/my-tax-receipt">Learn more…</a></div></div></div></div><div class="container"><nav class="row"><div class="col-md-6" id="accordion"><div aria-expanded="false" class="headline collapsed with-mobile-border" data-parent="#accordion" data-target="[data-name=footer-menu-1]" data-toggle="collapse" role="button">About us</div><ul class="collapse with-mobile-border" data-name="footer-menu-1"><li><a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;navigation footer&#39;, &#39;/c/about-us/&#39;);" href="/c/about-us">What&#39;s betterplace.org?</a></li><li><a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;navigation footer&#39;, &#39;/c/news/&#39;);" href="/c/news">Blog and News</a></li><li><a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;navigation footer&#39;, &#39;/c/our-team/&#39;);" href="/c/our-team">Our team</a></li><li><a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;navigation footer&#39;, &#39;/c/jobs/&#39;);" href="/c/jobs">Jobs</a></li><li><a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;navigation footer&#39;, &#39;/c/media/&#39;);" href="/c/media">Press</a></li><li class="hidden-xs"><a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;navigation footer&#39;, &#39;/c/contact/&#39;);" href="/c/contact">Contact &amp; Imprint</a></li><li><a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;navigation footer&#39;, &#39;https://api-docs.betterplace.org/&#39;);" href="https://api-docs.betterplace.org">API</a></li></ul><div class="caret-icon i fa fa-angle-down"></div></div><div class="col-md-6"><div class="row"><div class="col-md-24"><ul class="with-mobile-border"><li><div aria-expanded="false" class="headline collapsed" data-parent="#accordion" data-target="[data-name=footer-menu-2]" data-toggle="collapse" role="button">Collect donations</div></li></ul><ul class="collapse with-mobile-border" data-name="footer-menu-2"><li><a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;navigation footer&#39;, &#39;/en/collect-donations/online-fundraising&#39;);" href="/en/collect-donations/online-fundraising">For social organisations</a></li><li><a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;navigation footer&#39;, &#39;/en/collect-donations/marathon-fundraising-events&#39;);" href="/en/collect-donations/marathon-fundraising-events">Fundraising event marathon</a></li><li><a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;navigation footer&#39;, &#39;/en/collect-donations/birthday-fundraising-events&#39;);" href="/en/collect-donations/birthday-fundraising-events">Birthday fundraising event</a></li><li><a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;navigation footer&#39;, &#39;/c/help/what-is-a-fundraising-event-2/&#39;);" href="/c/help/what-is-a-fundraising-event">Fundraising event general</a></li></ul><div class="caret-icon i fa fa-angle-down"></div></div></div><div class="row"><div class="col-md-24"><div aria-expanded="false" class="headline collapsed with-mobile-border is-not-first" data-parent="#accordion" data-target="[data-name=footer-menu-3]" data-toggle="collapse" role="button">Donate time</div><ul class="collapse with-mobile-border" data-name="footer-menu-3"><li><a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;navigation footer&#39;, &#39;/en/discover-volunteering#open&#39;);" href="/en/discover-volunteering#open">Be a volunteer</a></li><li><a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;navigation footer&#39;, &#39;/en/collect-donations/volunteering&#39;);" href="/en/collect-donations/volunteering">Find a volunteer</a></li></ul><div class="caret-icon i fa fa-angle-down"></div></div></div></div><div class="col-md-6"><div aria-expanded="false" class="headline collapsed with-mobile-border" data-parent="#accordion" data-target="[data-name=footer-menu-4]" data-toggle="collapse" role="button">Help</div><ul class="collapse with-mobile-border" data-name="footer-menu-4"><li><a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;navigation footer&#39;, &#39;/c/hilfe/themen/spender/&#39;);" href="/c/hilfe/themen/spender">Help for donors</a></li><li><a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;navigation footer&#39;, &#39;/c/hilfe/themen/spendensammler/&#39;);" href="/c/hilfe/themen/spendensammler">Help for project managers</a></li><li><a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;navigation footer&#39;, &#39;/c/botschafter&#39;);" href="/c/botschafter">Ambassadors in your place</a></li><li><a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;navigation footer&#39;, &#39;/c/rules&#39;);" href="/c/rules">Terms of use and privacy policy</a></li><li><a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;no-tracking-specified&#39;, &#39;transaction cost link&#39;);" class="larger-click-area" href="/c/help/when-do-costs-arise">Notice on Transaction Costs</a></li><li><a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;navigation footer&#39;, &#39;/c/hilfe/themen/partnerplattformen/&#39;);" href="/c/hilfe/themen/partnerplattformen">Partner plattforms</a></li></ul><div class="caret-icon i fa fa-angle-down"></div></div><div class="col-md-6"><div aria-expanded="false" class="headline collapsed with-mobile-border" data-parent="#accordion" data-target="[data-name=footer-menu-5]" data-toggle="collapse" role="button">For social responsible corporations</div><ul class="collapse" data-name="footer-menu-5"><li><a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;navigation footer&#39;, &#39;http://www.betterplace-solutions.de/spendenaktion-mit-mitarbeitern/&#39;);" href="http://www.betterplace-solutions.de/spendenaktion-mit-mitarbeitern/">Commitment with employees </a></li><li><a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;navigation footer&#39;, &#39;http://www.betterplace-solutions.de/spendengutschein/&#39;);" href="http://www.betterplace-solutions.de/spendengutschein/">Commitment with customers</a></li><li><a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;navigation footer&#39;, &#39;http://www.betterplace-solutions.de/verdoppelungsaktion/&#39;);" href="http://www.betterplace-solutions.de/verdoppelungsaktion/">Commitment for projects</a></li></ul><div class="caret-icon i fa fa-angle-down"></div></div><div class="col-xs-24 hidden-md hidden-lg"><a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;navigation footer&#39;, &#39;/c/contact/&#39;);" class="headline" href="/c/contact">Contact &amp; Imprint</a></div></nav></div><div class="container"><div class="row"><div class="col-md-16"><img width="190" src="https://asset1.betterplace.org/assets/logos/layout-logo-043547a61760a5d12e23755a92b89aa35bb2f4f11c201adb7939c7811f2b4623.svg" alt="Layout logo" /><p class="claim">betterplace.org is charitable and non-profit.</p><p class="subline">Our payment methods are PayPal, Direct Debit, Credit Card, paydirekt, wire transfer.<br>
2
2
  USt-IdNr.: DE269446682</p><p class="subline">Our website uses cookies from the third party service provider “Outbrain” to provide interesting commercial material for you. <a href="/c/hilfe/outbrain-cookies">More information on the topic…</a></p></div><div class="col-md-8"><div class="generic-social-media-buttons is-neutral is-small"><a onclick="ga(&#39;send&#39;, &#39;social&#39;, { &#39;socialNetwork&#39;: &#39;facebook&#39;, &#39;socialAction&#39;: &#39;share&#39;, &#39;socialTarget&#39;: &#39;https://www.facebook.com/betterplace.org&#39;});ga(&#39;send&#39;, &#39;event&#39;, &#39;social_sharing&#39;, &#39;facebook&#39;, &#39;footer-social-sharing-icons&#39;);" target="_blank" class="social-media-button facebook" title="Facebook" href="https://www.facebook.com/betterplace.org"></a><a onclick="ga(&#39;send&#39;, &#39;social&#39;, { &#39;socialNetwork&#39;: &#39;twitter&#39;, &#39;socialAction&#39;: &#39;share&#39;, &#39;socialTarget&#39;: &#39;https://twitter.com/betterplace_org&#39;});ga(&#39;send&#39;, &#39;event&#39;, &#39;social_sharing&#39;, &#39;twitter&#39;, &#39;footer-social-sharing-icons&#39;);" target="_blank" class="social-media-button twitter" title="Twitter" href="https://twitter.com/betterplace_org"></a><a onclick="ga(&#39;send&#39;, &#39;social&#39;, { &#39;socialNetwork&#39;: &#39;instagram&#39;, &#39;socialAction&#39;: &#39;share&#39;, &#39;socialTarget&#39;: &#39;https://www.instagram.com/betterplace_org/&#39;});ga(&#39;send&#39;, &#39;event&#39;, &#39;social_sharing&#39;, &#39;instagram&#39;, &#39;footer-social-sharing-icons&#39;);" target="_blank" class="social-media-button instagram" title="Instagram" href="https://www.instagram.com/betterplace_org/"></a></div>
3
- {% if page.translation_path %}
3
+ {% if page.translation_url %}
4
4
  <span class="language-switch">
5
- <a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;navigation header&#39;, &#39;/c/{{page.translation_path}}&#39;);" class="language-switcher" href="/c/{{page.translation_path}}">Deutsch</a>
5
+ <a onclick="ga(&#39;send&#39;, &#39;event&#39;, &#39;navigation header&#39;, &#39;{{ page.translation_url | replace:'https://www.betterplace.org','' }}&#39;);" class="language-switcher" href="{{ page.translation_url | replace:'https://www.betterplace.org',style_host }}">Deutsch</a>
6
6
  </span>
7
7
  {% else %}
8
8
  <span class="language-switch">
@@ -2,16 +2,16 @@
2
2
 
3
3
  <meta property="og:locale" content="{{ site.lang_country }}"/>
4
4
  <meta property="og:site_name" content="{{ site.sharing_site_name }}"/>
5
- <meta property="og:title" content="{{ page.sharing_title || page.page_title }}"/>
6
- <!-- <meta property="og:url" content="https://www.betterplace.org{{ site.baseurl }}{{ page.url }}"/> -->
5
+ <meta property="og:title" content="{{ page.sharing_title | default:page.title }}"/>
6
+ <meta property="og:url" content="{{ include.sharing_host }}{{ site.baseurl }}{{ page.url }}"/>
7
7
  <meta property="og:type" content="article"/>
8
8
  <meta property="og:description" content="{{ page.sharing_description }}"/>
9
- {% if page.sharing_image_url %}
10
- <meta property="og:image" content="{{ page.sharing_image_url }}"/>
9
+ {% if page.sharing_image_path %}
10
+ <meta property="og:image" content="{{ include.sharing_host }}{{ site.baseurl }}{{ page.sharing_image_path }}"/>
11
11
  <meta property="og:image:width" content="{{ page.sharing_image_width }}"/>
12
12
  <meta property="og:image:height" content="{{ page.sharing_image_height }}"/>
13
13
  {% else %}
14
- <meta property="og:image" content="https://www.betterplace.org{{ site.baseurl }}/assets/theme_images/og-image-v2.png"/>
14
+ <meta property="og:image" content="{{ include.sharing_host }}{{ site.baseurl }}/assets/theme_images/og-image-v2.png"/>
15
15
  <meta property="og:image:width" content="1200"/>
16
16
  <meta property="og:image:height" content="630"/>
17
17
  {% endif %}
@@ -19,12 +19,12 @@
19
19
  <meta property="fb:app_id" content="129531047123577"/>
20
20
  <meta property="fb:pages" content="92443445717" />
21
21
 
22
- <meta name="twitter:title" content="{{ page.sharing_title || page.page_title }}"/>
23
- <!-- <meta name="twitter:url" content="https://www.betterplace.org{{ site.baseurl }}{{ page.url }}"/> -->
24
- {% if page.sharing_image_url %}
25
- <meta name="twitter:image" content="{{ page.sharing_image_url }}"/>
22
+ <meta name="twitter:title" content="{{ page.sharing_title | default:page.title }}"/>
23
+ <meta name="twitter:url" content="https://www.betterplace.org{{ site.baseurl }}{{ page.url }}"/>
24
+ {% if page.sharing_image_path %}
25
+ <meta name="twitter:image" content="{{ include.sharing_host }}{{ site.baseurl }}{{ page.sharing_image_path }}"/>
26
26
  {% else %}
27
- <meta name="twitter:image" content="https://www.betterplace.org{{ site.baseurl }}/assets/theme_images/og-image-v2.png"/>
27
+ <meta name="twitter:image" content="{{ include.sharing_host }}{{ site.baseurl }}/assets/theme_images/og-image-v2.png"/>
28
28
  {% endif %}
29
29
  <meta name="twitter:card" content="summary_large_image"/>
30
30
  <meta name="twitter:site" content="@betterplace_org"/>
@@ -4,25 +4,26 @@
4
4
  <meta charset="UTF-8" />
5
5
  <meta content="width=device-width, initial-scale=1, maximum-scale=3" name="viewport" />
6
6
  <!-- Generated {{ 'now' | date: "%F %T" }} -->
7
-
8
- <title>{{ page.page_title | default:'betterplace.org' }}</title>
9
-
10
- {% if page.translation_path %}
11
- {% assign clean_translation_path = page.translation_path | prepend:'https://www.betterplace.org/c/' | replace:'//','/' %}
12
- <link rel="alternate" hreflang="{{ site.translation_lang | replace:'_','-' }}" href="{{ clean_translation_path }}">
13
- {% endif %}
14
-
15
7
  {% comment %}Use via `JEKYLL_ENV=production bundle exec jekyll serve`{% endcomment %}
16
8
  {% if jekyll.environment == 'production' %}
17
9
  {% assign style_host = 'https://www.betterplace.org' %}
18
10
  {% elsif jekyll.environment == 'staging' %}
19
11
  {% assign style_host = 'https://www.bp42.com' %}
20
12
  {% endif %}
21
- <script src="{{ style_host }}/de/layouts/current_javascript/application"></script>
22
13
 
14
+ <title>{{ page.title | default:'betterplace.org' }}</title>
15
+
16
+ {% if page.translation_url %}
17
+ <link rel="alternate" hreflang="{{ site.translation_lang | replace:'_','-' }}"
18
+ href="{{ page.translation_url | replace:'https://www.betterplace.org',style_host }}">
19
+ {% endif %}
20
+
21
+ <script src="{{ style_host }}/de/layouts/current_javascript/application"></script>
23
22
  {% comment %}Das content--theme legt die default.css für jedes repo ab. Nicht geil, aber OK.{% endcomment %}
24
23
  <link rel="stylesheet" href="{{ style_host }}{{ site.baseurl }}/assets/css/default.css" />
25
-
24
+ {% if site._options.content.styles %}
25
+ <link rel="stylesheet" href="{{ style_host }}{{ site.baseurl }}{{ site._options.content.styles }}" />
26
+ {% endif %}
26
27
  <link rel="stylesheet" href="{{ style_host }}/de/layouts/current_stylesheet/generics_bootstrap" />
27
28
  <link rel="stylesheet" href="{{ style_host }}/de/layouts/current_stylesheet/generics" />
28
29
  <link rel="stylesheet" href="{{ style_host }}/de/layouts/current_stylesheet/application" />
@@ -34,7 +35,7 @@
34
35
 
35
36
  {% include google_analytics.html %}
36
37
 
37
- {% include sharing.html %}
38
+ {% include sharing.html sharing_host=style_host %}
38
39
 
39
40
  {% if site.feed_meta_in_head %}{% feed_meta %}{% endif %}
40
41
  </head>
@@ -5,7 +5,7 @@
5
5
  <!-- Generated {{ 'now' | date: "%F %T" }} -->
6
6
  <meta http-equiv="Refresh" content="0; url={{ page.redirect_url }}" />
7
7
  <link rel="canonical" href="{{ page.redirect_url }}"/>
8
- <title>{{ page.page_title | default:'betterplace.org' }}</title>
8
+ <title>{{ page.title | default:'betterplace.org' }}</title>
9
9
  </head>
10
10
  <body>
11
11
  {{ content }}
@@ -20,7 +20,6 @@ $site_baseurl: "{{ site.baseurl }}"
20
20
  @import "generics/team_list"
21
21
  @import "generics/topicblock"
22
22
  @import "generics/hero_image"
23
- @import "generics/content"
24
23
 
25
24
  @import "error404"
26
25
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: betterplace-content
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.12
4
+ version: 0.3.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - betterplace.org Developers
@@ -99,7 +99,6 @@ files:
99
99
  - _sass/generics/city_list.scss
100
100
  - _sass/generics/comments.sass
101
101
  - _sass/generics/content-header.sass
102
- - _sass/generics/content.sass
103
102
  - _sass/generics/desktop-navigation.scss
104
103
  - _sass/generics/hero_image.sass
105
104
  - _sass/generics/mobile-navigation.sass
@@ -115,7 +114,6 @@ files:
115
114
  - _sass/post.sass
116
115
  - _sass/refactor-me.sass
117
116
  - _sass/team.sass
118
- - assets/css/content-cloud-cannon.sass
119
117
  - assets/css/default.sass
120
118
  - assets/js/ga-autotrack.js
121
119
  - assets/js/help_search.js
@@ -1,25 +0,0 @@
1
-
2
- // About this file see
3
- // assets/css/content-cloud-cannon.sass
4
-
5
- p.content--callout
6
- margin: 10px
7
- border: 1px solid #f5f5f5
8
- background-color: #eee
9
-
10
- span.content--big-blue-text
11
- font-size: 2rem
12
- color: blue
13
-
14
- a.content--button
15
- color: red
16
- border: 1px solid green
17
-
18
- p.content--button-block
19
- a
20
- color: blue
21
- border: 1px solid green
22
-
23
- img.content--float-left
24
- float: left
25
- margin-right: 20px
@@ -1,11 +0,0 @@
1
- ---
2
- ---
3
-
4
- // This file is generated but only used by cloud cannon.
5
- // For the frontend, we also include the generics/content
6
- // as part of defaults.sass
7
-
8
- // For more about cloudcannon content styles, see
9
- // https://docs.cloudcannon.com/editing/options/#styles
10
-
11
- @import "generics/content"