From 6a37363d9184d3c15fc7de33774b61299e8af4dd Mon Sep 17 00:00:00 2001 From: Christian Date: Sun, 25 Oct 2020 21:57:51 +0100 Subject: [PATCH] Added Gitea-Link --- config.toml | 2 +- layouts/partials/social-follow.html | 8 +++++++- layouts/partials/svg/gitea.svg | 24 ++++++++++++++++++++++++ 3 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 layouts/partials/svg/gitea.svg diff --git a/config.toml b/config.toml index 894c144..14d8fd9 100644 --- a/config.toml +++ b/config.toml @@ -39,7 +39,7 @@ archetypeDir = "../kollegen-posts/archetypes" twitter = "" instagram = "" youtube = "" - github = "https://github.com/chs8691/kollegenrunde" + gitea = "https://kollegen.uber.space/gitea/kollegenrunde/kollegen-posts" gitlab = "" strava = "https://www.strava.com/clubs/kollegenrunde" linkedin = "" diff --git a/layouts/partials/social-follow.html b/layouts/partials/social-follow.html index 245fe02..a8526ab 100644 --- a/layouts/partials/social-follow.html +++ b/layouts/partials/social-follow.html @@ -1,7 +1,7 @@ {{ $icon_size := "32px" }} {{ with .Param "strava" }} - + {{ partial "svg/strava.svg" (dict "size" $icon_size) }} {{- partial "new-window-icon.html" . -}} @@ -48,6 +48,12 @@ {{- partial "new-window-icon.html" . -}} {{ end }} +{{ with .Param "gitea" }} + + {{ partial "svg/gitea.svg" (dict "size" $icon_size) }} + {{- partial "new-window-icon.html" . -}} + +{{ end }} {{ with .Param "gitlab" }} {{ partial "svg/gitlab.svg" (dict "size" $icon_size) }} diff --git a/layouts/partials/svg/gitea.svg b/layouts/partials/svg/gitea.svg new file mode 100644 index 0000000..7a48c75 --- /dev/null +++ b/layouts/partials/svg/gitea.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + +