From 3f5c9f9dd941016ccbb73fb85c4cfb7229a4b97f Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Sun, 18 Dec 2022 00:16:17 +0200 Subject: [PATCH] Add Mastodon and WhatsApp links --- data/en/sections/about.toml | 10 ++++ layouts/partials/sections/about.html | 70 ++++++++++++++++++++++++++++ 2 files changed, 80 insertions(+) create mode 100644 layouts/partials/sections/about.html diff --git a/data/en/sections/about.toml b/data/en/sections/about.toml index 75af681..1b5b392 100644 --- a/data/en/sections/about.toml +++ b/data/en/sections/about.toml @@ -14,6 +14,11 @@ template = "sections/about.html" name = "Rossum Oy" url = "https://rossum.fi" +[[socialLinks]] +name = "Mastodon" +icon = "fab fa-mastodon" +url = "https://social.korhonen.cc/@marko" + [[socialLinks]] name = "GitHub" icon = "fab fa-github" @@ -29,6 +34,11 @@ name = "Telegram" icon = "fab fa-telegram" url = "https://t.me/FunctionalHacker" +[[socialLinks]] +name = "WhatsApp" +icon = "fab fa-whatsapp" +url = "https://wa.me/+358407658800" + [[softSkills]] name = "Teamwork" percentage = 90 diff --git a/layouts/partials/sections/about.html b/layouts/partials/sections/about.html new file mode 100644 index 0000000..2ddecdd --- /dev/null +++ b/layouts/partials/sections/about.html @@ -0,0 +1,70 @@ +{{ $sectionID := replace (lower .section.name) " " "-" }} +{{ if .section.id }} + {{ $sectionID = .section.id }} +{{ end }} + +{{ $author:= site.Data.author }} +{{ if (index site.Data site.Language.Lang).author }} + {{ $author = (index site.Data site.Language.Lang).author }} +{{ end }} + +
+
+ + + {{ if or (.softSkills) (.badges) }}
{{ else }}
{{ end }} +

{{ $author.name }}

+ {{ if .designation }} +
+ {{ .designation }} + {{ if .company }} + {{ i18n "at"}} {{ .company.name }} + {{ end }} +
+ {{ end }} +

+ {{ .summary | markdownify }} +

+
+ +
+ {{ if .resume }} + + {{ end }} + {{ range .resourceLinks }} + + {{ end }} +
+ +
+
+ {{ range .badges }} + {{ partial "misc/badge.html" . }} + {{ end }} + + + {{ range .softSkills }} + {{ partial "misc/soft-skills.html" . }} + {{ end }} +
+
+
+