Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/shenoybr/hugo-goa.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRajesh Shenoy <shenoybr@users.noreply.github.com>2019-02-24 05:52:55 +0300
committerGitHub <noreply@github.com>2019-02-24 05:52:55 +0300
commita67beb1e2acd1c6b0b28aa179917b0656e78f56e (patch)
treefc0f4224f757a0492cd5add9b23e8030793cba33
parentfd3f0a7500cda9d90b973a38db2139f9f1444ad1 (diff)
parenta135e203da56311a3a07ba44355832bf095ea6c3 (diff)
Merge pull request #54 from simoleone/add-social-strava
add Strava to supported social networks
-rw-r--r--README.md1
-rw-r--r--exampleSite/config.toml1
-rw-r--r--layouts/partials/social.html4
3 files changed, 6 insertions, 0 deletions
diff --git a/README.md b/README.md
index 96e3468..0b9881a 100644
--- a/README.md
+++ b/README.md
@@ -135,6 +135,7 @@ These settings to display your social accounts.
- `youtube`: Your [YouTube](https://youtube.com) username.
- `soundcloud`: Your [Soundcloud](https://soundcloud.com) username.
- `tumblr`: Your [Tumblr](https://tumblr.com) username.
+- `strava`: Your [Strava](https://strava.com) username.
- `skype`: Your [skype](https://skype.com) username.
- `telegram`: Your [Telegram](https://telegram.com) username.
- `whatsapp`: Your phone number.* Follow the steps [here](https://faq.whatsapp.com/en/26000030/).
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 2a093ae..fb1f8a1 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -61,6 +61,7 @@ keybase = "<username>"
twitch = "<username>"
soundcloud = "<username>"
tumblr = "<username>"
+strava = "<username>"
skype = "<username>"
telegram = "<username>"
whatsapp = "<username>"
diff --git a/layouts/partials/social.html b/layouts/partials/social.html
index afd1272..b3568e3 100644
--- a/layouts/partials/social.html
+++ b/layouts/partials/social.html
@@ -89,6 +89,9 @@
{{ with .Site.Params.social.tumblr}}
<a href="https://{{.}}.tumblr.com" aria-label="Tumblr" target="_blank"><i class="fab fa-tumblr" aria-hidden="true"></i></a>
{{ end }}
+ {{ with .Site.Params.social.strava}}
+ <a href="https://www.strava.com/athletes/{{.}}" aria-label="Strava" target="_blank"><i class="fab fa-strava" aria-hidden="true"></i></a>
+ {{ end }}
{{ with .Site.Params.social.skype}}
<a href="skype:{{.}}" aria-label="Skype" target="_blank"><i class="fab fa-skype" aria-hidden="true"></i></a>
{{ end }}
@@ -143,6 +146,7 @@
{{ with .Site.Params.social.twitch}}"https://www.twitch.tv/{{.}}",{{ end }}
{{ with .Site.Params.social.soundcloud}}"https://soundcloud.com/{{.}}",{{ end }}
{{ with .Site.Params.social.tumblr}}"https://{{.}}.tumblr.com",{{ end }}
+ {{ with .Site.Params.social.strava}}"https://www.strava.com/athletes/{{.}}",{{ end }},
"{{ .Site.Params.baseURL }}"
]
}