forked from mirrors/hugo-tufte
Add support for LinkedIn in Social Media links (#13)
This commit is contained in:
parent
e206baefb3
commit
23b85481b6
3 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue