mirror of
https://github.com/loikein/hugo-tufte.git
synced 2024-11-24 16:36:57 +01:00
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
|
- `github`: string
|
||||||
- `gitlab`: string
|
- `gitlab`: string
|
||||||
- `twitter`: string
|
- `twitter`: string
|
||||||
|
- `linkedin`: string
|
||||||
- `patreon`: string
|
- `patreon`: string
|
||||||
- `youtube`: string
|
- `youtube`: string
|
||||||
- `medium`: 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
|
# Please note that some of the value below are only provided as an exemple, perhaps the computed isn't valid
|
||||||
# github: slashformotion
|
# github: slashformotion
|
||||||
# gitlab: slashformotion
|
# gitlab: slashformotion
|
||||||
|
# linkedin: <insert_here>
|
||||||
# twitter: slashformotion
|
# twitter: slashformotion
|
||||||
# patreon: ''
|
# patreon: ''
|
||||||
# youtube: user/ChromeDevelopers # check the end of your youtube url https://www.youtube.com/<copy_this>
|
# youtube: user/ChromeDevelopers # check the end of your youtube url https://www.youtube.com/<copy_this>
|
||||||
|
|
|
@ -19,6 +19,10 @@
|
||||||
<li><a href="https://twitter.com/{{.Site.Params.twitter}}">Twitter</a></li>
|
<li><a href="https://twitter.com/{{.Site.Params.twitter}}">Twitter</a></li>
|
||||||
{{ end }}
|
{{ 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" }}
|
{{ if isset .Site.Params "github" }}
|
||||||
<li><a href="https://github.com/{{.Site.Params.github}}">GitHub</a></li>
|
<li><a href="https://github.com/{{.Site.Params.github}}">GitHub</a></li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in a new issue