Add mastodon social support

This commit is contained in:
Jesús 2022-02-23 02:16:54 +08:00
parent acf0612447
commit 81f048d08d
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766
2 changed files with 10 additions and 0 deletions

View File

@ -223,6 +223,8 @@ footer
background: #e24329
.libregit:hover
background: #333333
.mastodon:hover
background: #191b22
.mediagoblin:hover
background: #775fa3
.notabug:hover

View File

@ -96,6 +96,14 @@
</svg>
</a>
{% endif %}
{% if LINK_MASTODON %}
<a itemprop="followee" class="mastodon" href="{{LINK_MASTODON}}" rel="me noopener noreferrer" target="_blank">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" y="0px" x="0px">
<path d="M 49.999999,0 A 50,50 0 0 0 0,50 50,50 0 0 0 49.999999,100 50,50 0 0 0 100,50 50,50 0 0 0 49.999999,0 Z M 49.746835,27.08861 H 60.506329 C 58.417721,28.5443 57.721519,32.78481 57.721519,35 v 20.25317 c 0,4.43038 -3.481013,7.8481 -7.974684,7.8481 -4.430379,0 -7.974682,-3.48102 -7.974682,-7.9114 V 34.93671 c 0,-4.3038 3.481012,-7.8481 7.974682,-7.8481 z M 22.1519,32.02532 c 4.430378,0 7.974681,3.48101 7.974681,7.8481 v 20.25316 c 0,2.1519 0.632911,6.4557 2.721521,7.8481 H 22.1519 c -4.43038,0 -7.974683,-3.48101 -7.974683,-7.8481 V 39.87342 c 0,-4.43038 3.481012,-7.8481 7.974683,-7.8481 z m 55.063289,0 c 4.43038,0 7.974682,3.48101 7.974682,7.8481 v 20.25316 c 0,4.43038 -3.544304,7.8481 -8.037974,7.8481 H 66.392403 c 2.025316,-1.3924 2.721519,-5.6962 2.721519,-7.8481 V 39.87342 c 0,-4.43038 3.544305,-7.8481 7.974683,-7.8481 z" />
<title>Mastodon</title>
</svg>
</a>
{% endif %}
{% if LINK_MEDIAGOBLIN %}
<a itemprop="followee" class="mediagoblin" href="{{LINK_MEDIAGOBLIN}}" rel="me noopener noreferrer" target="_blank">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" y="0px" x="0px">