From 39cf167b11b8e19e59ebc4d03b0ee796cc7689c1 Mon Sep 17 00:00:00 2001 From: shockrah Date: Thu, 9 Dec 2021 11:13:32 -0800 Subject: [PATCH] + Adding socials to social link cluster * Fixing broken socials.html partial Simply had to pass the partial the top level context --- .gitignore | 1 + config.toml | 2 ++ themes/resume/layouts/index.html | 12 +----------- themes/resume/layouts/partials/socials.html | 11 +++++++++++ 4 files changed, 15 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 7b1563e..fc0cabf 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ resources/ public/ *.swp .hugo_build.lock +msg diff --git a/config.toml b/config.toml index a4dafba..3c7e482 100644 --- a/config.toml +++ b/config.toml @@ -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 diff --git a/themes/resume/layouts/index.html b/themes/resume/layouts/index.html index 958e89f..0fd476e 100644 --- a/themes/resume/layouts/index.html +++ b/themes/resume/layouts/index.html @@ -28,17 +28,7 @@

{{.Site.Title}}

{{.Site.Params.Description}}

- - {{ if .Site.Params.Gitlab }} - - - - {{ end }} - {{ if .Site.Params.Linkedin }} - - - - {{ end }} + {{ partial "socials.html" . }}
diff --git a/themes/resume/layouts/partials/socials.html b/themes/resume/layouts/partials/socials.html index fb2d39d..a46dbb5 100644 --- a/themes/resume/layouts/partials/socials.html +++ b/themes/resume/layouts/partials/socials.html @@ -8,3 +8,14 @@ {{ end }} +{{ if .Site.Params.Twitch }} + + + +{{ end }} +{{ if .Site.Params.Mastodon }} + + + +{{ end }} +