Skip to content

Commit

Permalink
Fix newsletter subscription link
Browse files Browse the repository at this point in the history
  • Loading branch information
jbelien committed Nov 13, 2024
1 parent 3c0d0d6 commit 47f8bab
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 20 deletions.
9 changes: 3 additions & 6 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,9 @@ plugins:

twitter:
username: osm_be
social:
name: OpenStreetMap Belgium
links:
- https://twitter.com/osm_be
- https://www.facebook.com/groups/1419016881706058/
- https://github.com/osmbe
newsletter:
archive: https://us13.campaign-archive.com/home/?u=cc6632a49e784f67574e50269&id=5c2416bba6
subscribe: https://osm.us13.list-manage.com/subscribe?u=cc6632a49e784f67574e50269&id=5c2416bba6

url: https://openstreetmap.be
baseurl: ""
Expand Down
4 changes: 2 additions & 2 deletions _includes/footer-en.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ <h2>OpenStreetMap Belgium</h2>
<div style="margin-top: 50px;">
<h3>Newsletter</h3>
<p>
<a target="_blank" href="https://members.osm.be/subscribe/newsletter">Subscribe</a> to our quarterly newsletter
(<a target="_blank" href="https://us13.campaign-archive.com/home/?u=cc6632a49e784f67574e50269&id=5c2416bba6">archive</a>)
<a target="_blank" href="{{ site.newsletter.subscribe }}">Subscribe</a> to our quarterly newsletter
(<a target="_blank" href="{{ site.newsletter.archive }}">archive</a>)
</p>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions _includes/footer-fr.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ <h2>OpenStreetMap Belgique</h2>
<div style="margin-top: 50px;">
<h3>Bulletin d'information</h3>
<p>
<a target="_blank" href="https://members.osm.be/subscribe/newsletter">Souscrivez</a> à notre bulletin d'information trimestriel
(<a target="_blank" href="https://us13.campaign-archive.com/home/?u=cc6632a49e784f67574e50269&id=5c2416bba6">archives</a>)
<a target="_blank" href="{{ site.newsletter.subscribe }}">Souscrivez</a> à notre bulletin d'information trimestriel
(<a target="_blank" href="{{ site.newsletter.archive }}">archives</a>)
</p>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions _includes/footer-nl.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ <h2>OpenStreetMap België</h2>
<div style="margin-top: 50px;">
<h3>Nieuwsbrief </h3>
<p>
<a target="_blank" href="https://members.osm.be/subscribe/newsletter">Schrijf je in</a> voor onze driemaandelijkse nieuwsbrief
(<a target="_blank" href="https://us13.campaign-archive.com/home/?u=cc6632a49e784f67574e50269&id=5c2416bba6">archief</a>)
<a target="_blank" href="{{ site.newsletter.subscribe }}">Schrijf je in</a> voor onze driemaandelijkse nieuwsbrief
(<a target="_blank" href="{{ site.newsletter.archive }}">archief</a>)
</p>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion _includes/twitter.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="mt-5">
<a class="twitter-timeline" data-height="750" data-dnt="true" href="https://twitter.com/osm_be?ref_src=twsrc%5Etfw">Tweets by osm_be</a>
<a class="twitter-timeline" data-height="750" data-dnt="true" href="https://twitter.com/{{ site.twitter.username }}?ref_src=twsrc%5Etfw">Tweets by {{ site.twitter.username }}</a>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
</div>
4 changes: 2 additions & 2 deletions en/news.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ <h2 class="h4">Categories</h2>

<h2 class="h4">Newsletter</h2>
<p>
<a target="_blank" href="https://members.osm.be/subscribe/newsletter">Subscribe</a> to our quarterly newsletter
(<a target="_blank" href="https://us13.campaign-archive.com/home/?u=cc6632a49e784f67574e50269&id=5c2416bba6">archive</a>)
<a target="_blank" href="{{ site.newsletter.subscribe }}">Subscribe</a> to our quarterly newsletter
(<a target="_blank" href="{{ site.newsletter.archive }}">archive</a>)
</p>

{% include twitter.html %}
Expand Down
4 changes: 2 additions & 2 deletions fr/news.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ <h2 class="h4">Catégories</h2>

<h2 class="h4">Bulletin d'information</h2>
<p>
<a target="_blank" href="https://members.osm.be/subscribe/newsletter">Souscrivez</a> à notre bulletin d'information trimestriel
(<a target="_blank" href="https://us13.campaign-archive.com/home/?u=cc6632a49e784f67574e50269&id=5c2416bba6">archives</a>)
<a target="_blank" href="{{ site.newsletter.subscribe }}">Souscrivez</a> à notre bulletin d'information trimestriel
(<a target="_blank" href="{{ site.newsletter.archive }}">archives</a>)
</p>

{% include twitter.html %}
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="me" href="https://en.osm.town/@osm_be">
<link rel="me" href="https://en.osm.town/@{{ site.twitter.username }}">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css"
integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous">
<title>OpenStreetMap Belgium</title>
Expand Down
4 changes: 2 additions & 2 deletions nl/news.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ <h2 class="h4">Categorieën</h2>

<h2 class="h4">Nieuwsbrief</h2>
<p>
<a target="_blank" href="https://members.osm.be/subscribe/newsletter">Schrijf je in</a> voor onze driemaandelijkse nieuwsbrief
(<a target="_blank" href="https://us13.campaign-archive.com/home/?u=cc6632a49e784f67574e50269&id=5c2416bba6">archief</a>)
<a target="_blank" href="{{ site.newsletter.subscribe }}">Schrijf je in</a> voor onze driemaandelijkse nieuwsbrief
(<a target="_blank" href="{{ site.newsletter.archive }}">archief</a>)
</p>

{% include twitter.html %}
Expand Down

0 comments on commit 47f8bab

Please sign in to comment.