Skip to content

Commit

Permalink
Support for Bluesky profiles (#86)
Browse files Browse the repository at this point in the history
+ Add link to main page
+ Add link to map
  • Loading branch information
tginsberg authored Nov 19, 2024
1 parent 51061eb commit d07d68d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ <h2>{{ jug.name }}</h2>
{% if jug.mastodon %}
<a href="{{ jug.mastodon }}" target="_blank">Mastodon</a></p>
{% endif %}
{% if jug.bluesky %}
<a href="https://bsky.app/profile/{{ jug.bluesky }}" target="_blank">Bluesky</a><br/>
{% endif %}
</article>
</li>
{% endfor %}
Expand Down
3 changes: 3 additions & 0 deletions map.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@
if ("{{ jug.mastodon }}".length > 0) {
popup += "<a href='{{ jug.mastodon }}' target=\"_blank\">Mastodon</a><br/>";
}
if ("{{ jug.bluesky }}".length > 0) {
popup += "<a href='https://bsky.app/profile/{{ jug.bluesky }}' target=\"_blank\">Bluesky</a><br/>";
}
L.marker([{{ longitude }}, {{ latitude }}],{icon: dukeIcon}).addTo(mymap).bindPopup(popup);
{% endfor %}
</script>
Expand Down

0 comments on commit d07d68d

Please sign in to comment.