+ Adding socials to social link cluster
* Fixing broken socials.html partial Simply had to pass the partial the top level context
This commit is contained in:
parent
b749feb984
commit
39cf167b11
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@ resources/
|
||||
public/
|
||||
*.swp
|
||||
.hugo_build.lock
|
||||
msg
|
||||
|
@ -16,6 +16,8 @@ title = "My personal portfolio"
|
||||
# Social medias
|
||||
linkedin = "https://www.linkedin.com/in/alejandro-santillana-foss/"
|
||||
gitlab = "https://gitlab.com/shockrah"
|
||||
twitch = "https://twitch.tv/shockrah"
|
||||
mastodon = "https://qoto.org/@shockrah"
|
||||
|
||||
|
||||
# Skills or something idk
|
||||
|
@ -28,17 +28,7 @@
|
||||
<div class="headline">
|
||||
<h1 class="headline-title reveal-text">{{.Site.Title}}</h1>
|
||||
<p class="one-liner reveal-text">{{.Site.Params.Description}}</p>
|
||||
<!-- TODO: move this into a partial for better control -->
|
||||
{{ if .Site.Params.Gitlab }}
|
||||
<a class="socials reveal-text" href="{{.Site.Params.Gitlab}}">
|
||||
<i class="fab fa-gitlab"></i>
|
||||
</a>
|
||||
{{ end }}
|
||||
{{ if .Site.Params.Linkedin }}
|
||||
<a class="socials reveal-text" href="{{.Site.Params.Linkedin}}">
|
||||
<i class="fab fa-linkedin-in"></i>
|
||||
</a>
|
||||
{{ end }}
|
||||
{{ partial "socials.html" . }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -8,3 +8,14 @@
|
||||
<i class="fab fa-linkedin-in"></i>
|
||||
</a>
|
||||
{{ end }}
|
||||
{{ if .Site.Params.Twitch }}
|
||||
<a class="socials" href="{{.Site.Params.Twitch}}">
|
||||
<i class="fab fa-twitch"></i>
|
||||
</a>
|
||||
{{ end }}
|
||||
{{ if .Site.Params.Mastodon }}
|
||||
<a class="socials" href="{{.Site.Params.Mastodon}}">
|
||||
<i class="fab fa-mastodon"></i>
|
||||
</a>
|
||||
{{ end }}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user