Skip to content

Commit

Permalink
Add support for LinkedIn in Social Media links (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vehemos authored Sep 7, 2023
1 parent e206bae commit 23b8548
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions exampleSite/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: <insert_here>
# twitter: slashformotion
# patreon: ''
# youtube: user/ChromeDevelopers # check the end of your youtube url https://www.youtube.com/<copy_this>
Expand Down
4 changes: 4 additions & 0 deletions layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
{{ if isset .Site.Params "twitter" }}
<li><a href="https://twitter.com/{{.Site.Params.twitter}}">Twitter</a></li>
{{ end }}

{{ if isset .Site.Params "linkedin" }}
<li><a href="https://linkedin.com/in/{{.Site.Params.linkedin}}">LinkedIn</a></li>
{{ end }}

{{ if isset .Site.Params "github" }}
<li><a href="https://github.com/{{.Site.Params.github}}">GitHub</a></li>
Expand Down

0 comments on commit 23b8548

Please sign in to comment.