From 23b85481b684cbdab4b23a39d78fa37c8c35398e Mon Sep 17 00:00:00 2001 From: Sarthak Tripathi Date: Thu, 7 Sep 2023 19:15:56 +0530 Subject: [PATCH] Add support for LinkedIn in Social Media links (#13) --- README.md | 1 + exampleSite/config.yaml | 1 + layouts/partials/footer.html | 4 ++++ 3 files changed, 6 insertions(+) diff --git a/README.md b/README.md index ccc383a..1a8a1fb 100644 --- a/README.md +++ b/README.md @@ -90,6 +90,7 @@ You can add links to your social media profile by using thoses parameters: - `github`: string - `gitlab`: string - `twitter`: string +- `linkedin`: string - `patreon`: string - `youtube`: string - `medium`: string diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index 38ff42a..9fe28a2 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -56,6 +56,7 @@ params: # Please note that some of the value below are only provided as an exemple, perhaps the computed isn't valid # github: slashformotion # gitlab: slashformotion + # linkedin: # twitter: slashformotion # patreon: '' # youtube: user/ChromeDevelopers # check the end of your youtube url https://www.youtube.com/ diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 4d0ea85..2a3d96d 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -18,6 +18,10 @@ {{ if isset .Site.Params "twitter" }}
  • Twitter
  • {{ end }} + + {{ if isset .Site.Params "linkedin" }} +
  • LinkedIn
  • + {{ end }} {{ if isset .Site.Params "github" }}
  • GitHub