Merge pull request #114 from nekr0z/microblog

add micro.blog social option
This commit is contained in:
Huy Tran 2020-11-03 11:21:15 +11:00 committed by GitHub
commit 977c128307
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 1 deletions

View File

@ -50,6 +50,7 @@ theme = "hyde-hyde"
linkedin = "<username>"
twitter = "<username>"
facebook = "<username>"
microblog = "<username>"
stackoverflow = "<username>"
telegram = "<username>"
# orcid = "<xxxx-xxxx-xxxx-xxxx>"

View File

@ -1 +1 @@
<script defer src="https://use.fontawesome.com/releases/v5.11.2/js/all.js" integrity="sha384-b3ua1l97aVGAPEIe48b4TC60WUQbQaGi2jqAWM90y0OZXZeyaTCWtBTKtjW2GXG1" crossorigin="anonymous"></script>
<script defer src="https://use.fontawesome.com/releases/v5.12.1/js/all.js" integrity="sha384-ZbbbT1gw3joYkKRqh0kWyRp32UAvdqkpbLedQJSlnI8iLQcFVxaGyrOgOJiDQTTR" crossorigin="anonymous"></script>

View File

@ -2,6 +2,9 @@
{{ with .Site.Params.social.twitter }}
<a href="https://twitter.com/{{.}}" rel="me"><i class="fab fa-twitter fa-lg" aria-hidden="true"></i></a>
{{ end }}
{{ with .Site.Params.social.microblog }}
<a href="https://micro.blog/{{.}}" rel="me"><i class="fab fa-microblog fa-lg" aria-hidden="true"></i></a>
{{ end }}
{{ with .Site.Params.social.facebook }}
<a href="https://facebook.com/{{.}}" rel="me"><i class="fab fa-facebook-f"></i></a>
{{ end }}