From 60fe49ea3af38d4a7d5e8de1cdb72887b167b22d Mon Sep 17 00:00:00 2001 From: gabrielgio Date: Sat, 11 Jul 2020 22:35:14 +0200 Subject: Moving from jekyll to hugo --- themes/ananke/layouts/partials/social-follow.html | 80 +++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 themes/ananke/layouts/partials/social-follow.html (limited to 'themes/ananke/layouts/partials/social-follow.html') diff --git a/themes/ananke/layouts/partials/social-follow.html b/themes/ananke/layouts/partials/social-follow.html new file mode 100644 index 0000000..0755ce2 --- /dev/null +++ b/themes/ananke/layouts/partials/social-follow.html @@ -0,0 +1,80 @@ + +{{ $icon_size := "32px" }} +{{ with .Param "stackoverflow" }} + + {{ partial "svg/stackoverflow.svg" (dict "size" $icon_size) }} + {{- partial "new-window-icon.html" . -}} + +{{ end }} +{{ with .Param "facebook" }} + + {{ partial "svg/facebook.svg" (dict "size" $icon_size) }} + {{- partial "new-window-icon.html" . -}} + +{{ end }} +{{ with .Param "twitter" }} + + {{ partial "svg/twitter.svg" (dict "size" $icon_size) }} + {{- partial "new-window-icon.html" . -}} + +{{ end }} +{{ with .Param "instagram" }} + + {{ partial "svg/instagram.svg" (dict "size" $icon_size) }} + {{- partial "new-window-icon.html" . -}} + +{{ end }} +{{ with .Param "youtube" }} + + {{ partial "svg/youtube.svg" (dict "size" $icon_size) }} + {{- partial "new-window-icon.html" . -}} + +{{ end }} +{{ with .Param "linkedin" }} + + {{ partial "svg/linkedin.svg" (dict "size" $icon_size) }} + {{- partial "new-window-icon.html" . -}} + +{{ end }} +{{ with .Param "github" }} + + {{ partial "svg/github.svg" (dict "size" $icon_size) }} + {{- partial "new-window-icon.html" . -}} + +{{ end }} +{{ with .Param "gitlab" }} + + {{ partial "svg/gitlab.svg" (dict "size" $icon_size) }} + {{- partial "new-window-icon.html" . -}} + +{{ end }} +{{ with .Param "keybase" }} + + {{ partial "svg/keybase.svg" (dict "size" $icon_size) }} + {{- partial "new-window-icon.html" . -}} + +{{ end }} +{{ with .Param "medium" }} + + {{ partial "svg/medium.svg" (dict "size" $icon_size) }} + {{- partial "new-window-icon.html" . -}} + +{{ end }} +{{ with .Param "mastodon" }} + + {{ partial "svg/mastodon.svg" (dict "size" $icon_size) }} + {{- partial "new-window-icon.html" . -}} + +{{ end }} +{{ with .Param "slack" }} + + {{ partial "svg/slack.svg" (dict "size" $icon_size) }} + {{- partial "new-window-icon.html" . -}} + +{{ end }} +{{ with .Param "rss" }} + + {{ partial "svg/rss.svg" (dict "size" $icon_size) }} + {{- partial "new-window-icon.html" . -}} + +{{ end }} -- cgit v1.2.3