Skip to content

Commit

Permalink
Merge branch 'World-Wide-JUGs:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
FDelporte authored Sep 15, 2023
2 parents 32bea24 + a363d07 commit 7690236
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 5 deletions.
1 change: 1 addition & 0 deletions _jugs/BelgianJUG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: "Belgian Java User Group"
country: Belgium
website: https://www.meetup.com/belgian-java-user-group
twitter: BeJUG
mastodon: https://foojay.social/@BeJUG
location: 50.846816259061896, 4.352442201048654
founded_date: 1996-01-01
---
1 change: 1 addition & 0 deletions _jugs/BrusselsJUG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: "Brussels Java User Group"
country: Belgium
website: http://www.brujug.be/
twitter: BruJUG
mastodon: https://foojay.social/@brujug
location: 50.849594, 4.364084
founded_date: 2010-03-01
---
10 changes: 10 additions & 0 deletions _jugs/CentralOhioJUG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
name: "Central Ohio Java User Group (COJUG)"
country: USA
website: http://www.cojug.org/
location: 39.99664182204378, -83.0739151554613
founded_date: 1995-01-01
twitter:
contact: [email protected]
youtube: https://www.youtube.com/@cojug
---
9 changes: 9 additions & 0 deletions _jugs/ChicagoJUG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
name: "Chicago Java User’s Group"
country: USA
website: https://www.meetup.com/ChicagoJUG/
twitter: cjug
mastodon: https://foojay.social/@ChicagoJUG
location: 41.87964294558547, -87.63584297206118
founded_date: 2013-01-01
---
12 changes: 9 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,17 @@
<li>
<article><p>
<h2>{{ jug.name }}</h2>
Location: {{ jug.location }}<br/>
Date founded: {{ jug.founded_date }}<br/>
Country: {{ jug.country }}<br/>
<a href="{{ jug.website }}">Website</a><br/>
<a href="https://twitter.com/{{ jug.twitter }}">Twitter</a></p>
{% if jug.website %}
<a href="{{ jug.website }}">Website</a><br/>
{% endif %}
{% if jug.twitter %}
<a href="https://twitter.com/{{ jug.twitter }}">Twitter</a><br/>
{% endif %}
{% if jug.mastodon %}
<a href="{{ jug.mastodon }}">Mastodon</a></p>
{% endif %}
</article>
</li>
{% endfor %}
Expand Down
7 changes: 5 additions & 2 deletions map.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,12 @@
{% assign longitude = coordinates[0] %}
{% assign latitude = coordinates[1] %}
var popup = "<b>{{ jug.name }}</b><br/>" +
"<a href='{{ jug.website }}'>Website</a><br/>";
"<a href='{{ jug.website }}' target=\"_blank\">Website</a><br/>";
if ("{{ jug.twitter }}".length > 0) {
popup += "<a href='https://twitter.com/{{ jug.twitter }}'>Twitter</a><br/>";
popup += "<a href='https://twitter.com/{{ jug.twitter }}' target=\"_blank\">Twitter</a><br/>";
}
if ("{{ jug.mastodon }}".length > 0) {
popup += "<a href='{{ jug.mastodon }}' target=\"_blank\">Mastodon</a><br/>";
}
L.marker([{{ longitude }}, {{ latitude }}],{icon: dukeIcon}).addTo(mymap).bindPopup(popup);
{% endfor %}
Expand Down

0 comments on commit 7690236

Please sign in to comment.