mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-15 11:46:41 +02:00
Change the way social params interact
This commit is contained in:
@@ -22,7 +22,7 @@ logofile = "img/logo.png"
|
|||||||
faviconfile = "img/logo.png"
|
faviconfile = "img/logo.png"
|
||||||
highlightjs = true
|
highlightjs = true
|
||||||
lang = "en"
|
lang = "en"
|
||||||
github = "https://github.com/example"
|
github = "example"
|
||||||
email = "you@example.com"
|
email = "you@example.com"
|
||||||
linkedin = "example"
|
linkedin = "john-example-aa80ue8è"
|
||||||
twitter = "@example"
|
twitter = "@example"
|
||||||
|
@@ -42,19 +42,19 @@
|
|||||||
<div class="content">
|
<div class="content">
|
||||||
|
|
||||||
{{ if .Site.Params.github }}
|
{{ if .Site.Params.github }}
|
||||||
<a href="{{ .Site.Params.github }}" target="_blank">
|
<a href="https://github.com/{{ .Site.Params.github }}" target="_blank">
|
||||||
<i class="icon ion-social-github"></i>
|
<i class="icon ion-social-github"></i>
|
||||||
</a>
|
</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ if .Site.Params.twitter }}
|
{{ if .Site.Params.twitter }}
|
||||||
<a href="{{ .Site.Params.twitter }}" target="_blank">
|
<a href="https://twitter.com/{{ .Site.Params.twitter }}" target="_blank">
|
||||||
<i class="icon ion-social-twitter"></i>
|
<i class="icon ion-social-twitter"></i>
|
||||||
</a>
|
</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ if .Site.Params.linkedin }}
|
{{ if .Site.Params.linkedin }}
|
||||||
<a href="{{ .Site.Params.linkedin }}" target="_blank">
|
<a href="https://www.linkedin.com/in/{{ .Site.Params.linkedin }}" target="_blank">
|
||||||
<i class="icon ion-social-linkedin"></i>
|
<i class="icon ion-social-linkedin"></i>
|
||||||
</a>
|
</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
Reference in New Issue
Block a user