diff options
author | Evgeny Kuznetsov <evgeny@kuznetsov.md> | 2020-03-17 07:37:28 +0300 |
---|---|---|
committer | Evgeny Kuznetsov <evgeny@kuznetsov.md> | 2020-03-23 12:34:58 +0300 |
commit | ac7af403e407cebcc46a46dcaca07c38c5681bdf (patch) | |
tree | 7bbbd89ef2ad9b5359aa2f506b95232a2396d331 | |
parent | 80fe1bf4a9b6ca8aa67a2b7ffb26052a1307863e (diff) |
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 }} |