diff options
author | Huy Tran <hoang.huy.tran@gmail.com> | 2020-03-23 11:52:07 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-23 11:52:07 +0300 |
commit | 80fe1bf4a9b6ca8aa67a2b7ffb26052a1307863e (patch) | |
tree | 43115beed08c8d0a3e6a72a41178e9520eee47bf | |
parent | c02a791197c93c8d3e3b8434aadf4d3d41534489 (diff) | |
parent | f07b91d5a279428c2ebed55d29d5939711b66717 (diff) |
Merge pull request #112 from nekr0z/orcid
add ORCiD social link
-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 5565cd3..7850c4e 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -52,6 +52,7 @@ theme = "hyde-hyde" facebook = "<username>" stackoverflow = "<username>" telegram = "<username>" + # orcid = "<xxxx-xxxx-xxxx-xxxx>" email = "your-email@example.com" # gravatar = "your-email@example.com" diff --git a/layouts/partials/footer/font-awesome-js.html b/layouts/partials/footer/font-awesome-js.html index d94a68c..c215d65 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.5.0/js/all.js" integrity="sha384-GqVMZRt5Gn7tB9D9q7ONtcp4gtHIUEW/yG7h98J7IpE3kpi+srfFyyB/04OV6pG0" crossorigin="anonymous"></script> +<script defer src="https://use.fontawesome.com/releases/v5.11.2/js/all.js" integrity="sha384-b3ua1l97aVGAPEIe48b4TC60WUQbQaGi2jqAWM90y0OZXZeyaTCWtBTKtjW2GXG1" crossorigin="anonymous"></script> diff --git a/layouts/partials/sidebar/social.html b/layouts/partials/sidebar/social.html index ba6567c..a1ac5d5 100644 --- a/layouts/partials/sidebar/social.html +++ b/layouts/partials/sidebar/social.html @@ -42,6 +42,9 @@ {{ with .Site.Params.social.aboutme }} <a href="https://about.me/{{.}}"><i class="fas fa-address-card fa-lg" aria-hidden="true"></i></a> {{ end }} + {{ with .Site.Params.social.orcid }} + <a href="https://orcid.org/{{.}}" rel="me"><i class="fab fa-orcid fa-lg" aria-hidden="true"></i></a> + {{end}} {{ with .Site.Params.social.email }} <a href="mailto:{{.}}" rel="me"><i class="fas fa-at fa-lg" aria-hidden="true"></i></a> {{ end }} |