diff options
author | Huy Tran <hoang.huy.tran@gmail.com> | 2020-11-03 03:21:15 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-03 03:21:15 +0300 |
commit | 977c128307dd03001aa72ae8f2524ac2efb495ba (patch) | |
tree | 527c79d597f1605a8e3b88a15fc43c1a399bd2e0 | |
parent | 3f7524a43f6ad119eb0cc8b7c525e5231cefe397 (diff) | |
parent | ac7af403e407cebcc46a46dcaca07c38c5681bdf (diff) |
Merge pull request #114 from nekr0z/microblog
add micro.blog social option
-rw-r--r-- | exampleSite/config.toml | 1 | ||||
-rw-r--r-- | layouts/partials/footer/font-awesome-js.html | 2 | ||||
-rw-r--r-- | layouts/partials/sidebar/social.html | 3 |
3 files changed, 5 insertions, 1 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 7850c4e..bb4d64c 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -50,6 +50,7 @@ theme = "hyde-hyde" linkedin = "<username>" twitter = "<username>" facebook = "<username>" + microblog = "<username>" stackoverflow = "<username>" telegram = "<username>" # orcid = "<xxxx-xxxx-xxxx-xxxx>" diff --git a/layouts/partials/footer/font-awesome-js.html b/layouts/partials/footer/font-awesome-js.html index c215d65..a92a75a 100644 --- a/layouts/partials/footer/font-awesome-js.html +++ b/layouts/partials/footer/font-awesome-js.html @@ -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> diff --git a/layouts/partials/sidebar/social.html b/layouts/partials/sidebar/social.html index a1ac5d5..337934f 100644 --- a/layouts/partials/sidebar/social.html +++ b/layouts/partials/sidebar/social.html @@ -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 }} |