Skip to content

Commit

Permalink
Enable mastodon in footer (#1243)
Browse files Browse the repository at this point in the history
  • Loading branch information
wm75 authored Apr 12, 2024
1 parent 87e4575 commit 3f15f53
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
8 changes: 5 additions & 3 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ description: The European Galaxy Instance
email: contact@usegalaxy.eu
baseurl: "/" # the subpath of your site, e.g. /blog
url: "https://galaxyproject.eu" # the base hostname & protocol for your site, e.g. https://example.com
twitter_username: galaxyproject
github_username: usegalaxy-eu
mastodon_server: "bawü.social"
mastodon_username: "galaxyfreiburg"
github_username: usegalaxy-eu
blurb:
UseGalaxy.eu is maintained largely by the [Freiburg Galaxy
Team](/freiburg/) but also collectively by groups and individuals from across
Expand Down Expand Up @@ -68,7 +69,8 @@ team_sites:
name: Freiburg
url: /freiburg/
email: contact@usegalaxy.eu
twitter_username: galaxyproject
mastodon_server: "bawü.social"
mastodon_username: "galaxyfreiburg"
github_username: usegalaxy-eu
private_news: true
url: "https://usegalaxy.eu/freiburg/"
Expand Down
3 changes: 3 additions & 0 deletions _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@
{% endif %}
{% if lsite.twitter_username %}
<li><i class="fa fa-twitter"></i><a href="https://twitter.com/{{ lsite.twitter_username }}">{{ lsite.twitter_username }}</a></li>
{% endif %}
{% if lsite.mastodon_username %}
<li><img class="fa-mastodon" src="/assets/media/mastodon.svg" style="width:18px;height:18px;padding-right:4px;filter:grayscale(100%);-webkit-filter:grayscale(100%);"/><a href="https://{{ lsite.mastodon_server }}/@{{ lsite.mastodon_username }}">{{ lsite.mastodon_username }}</a></li>
{% endif %}
<li><i class="fa fa-rss"></i>Subscribe <a href="/feed.xml">via RSS (UseGalaxy.eu Feed)</a></li>
</ul>
Expand Down

0 comments on commit 3f15f53

Please sign in to comment.