Add mastodon to links

This commit is contained in:
Joshua Boniface 2022-11-14 02:35:46 -05:00
parent 5c026de95e
commit 5e5175b639
3 changed files with 11 additions and 1 deletions

View File

@ -7,6 +7,9 @@
<span class="fa fa-google-plus-square fa-3x"></span></a> <span class="fa fa-google-plus-square fa-3x"></span></a>
<a href="http://www.linkedin.com/shareArticle?mini=true&url={{ .Permalink }}&title={{ .Title }}" target="_blank" title="LinkedIn" class="linkedin"> <a href="http://www.linkedin.com/shareArticle?mini=true&url={{ .Permalink }}&title={{ .Title }}" target="_blank" title="LinkedIn" class="linkedin">
<span class="fa fa-linkedin-square fa-3x"></span></a> <span class="fa fa-linkedin-square fa-3x"></span></a>
<a href="http://www.linkedin.com/shareArticle?mini=true&url={{ .Permalink }}&title={{ .Title }}" target="_blank" title="LinkedIn" class="linkedin">
<a href="https://sharetomastodon.github.io/?title={{ .Title }}&url={{ .Permalink }}" target="_blank" title="Mastodon" class="mastodon">
<span class="fa fa-mastodon fa-3x"></span></a>
<a href="http://www.reddit.com/submit?url={{ .Permalink }}" target="_blank" title="Reddit" class="reddit"><span class="fa fa-reddit-square fa-3x"></span></a> <a href="http://www.reddit.com/submit?url={{ .Permalink }}" target="_blank" title="Reddit" class="reddit"><span class="fa fa-reddit-square fa-3x"></span></a>
<a href="http://www.stumbleupon.com/submit?url={{ .Permalink }}" target="_blank" title="StumbleUpon" class="stumbleupon"><span class="fa fa-stumbleupon fa-3x"> <a href="http://www.stumbleupon.com/submit?url={{ .Permalink }}" target="_blank" title="StumbleUpon" class="stumbleupon"><span class="fa fa-stumbleupon fa-3x">
</span></a> </span></a>

View File

@ -20,6 +20,10 @@
<li class="navigation__item"> <li class="navigation__item">
<a href="https://www.linkedin.com/in/{{ .Site.Params.linkedin }}" title="Linkedin"> <i class='fa fa-linkedin'></i> <span class="label">Linkedin</span> </a> <a href="https://www.linkedin.com/in/{{ .Site.Params.linkedin }}" title="Linkedin"> <i class='fa fa-linkedin'></i> <span class="label">Linkedin</span> </a>
</li> {{ end }} {{ if .Site.Params.email }} </li> {{ end }} {{ if .Site.Params.email }}
<!-- Mastodon -->
<li class="navigation__item">
<a rel="me" href="{{ .Site.Params.mastodon }}" title="Mastodon">_<i class='fa fa-mastodon'></i>_<span class="label">Mastodon</span>_</a>
</li> {{ end }} {{ if .Site.Params.mastodon }}
<!-- Email --> <!-- Email -->
<li class="navigation__item"> <li class="navigation__item">
<a href="mailto:{{ .Site.Params.email }}" title="Email {{ .Site.Params.email }}"> <i class='fa fa-envelope-o'></i> <span class="label">Email</span> </a> <a href="mailto:{{ .Site.Params.email }}" title="Email {{ .Site.Params.email }}"> <i class='fa fa-envelope-o'></i> <span class="label">Email</span> </a>

View File

@ -837,6 +837,9 @@ body {
.fa-linkedin:before { .fa-linkedin:before {
content: ""; } content: ""; }
.fa-mastodon:before {
content: ""; }
.fa-rotate-left:before, .fa-rotate-left:before,
.fa-undo:before { .fa-undo:before {
content: ""; } content: ""; }