aboutsummaryrefslogtreecommitdiff
path: root/themes/ananke/layouts/partials/social-share.html
diff options
context:
space:
mode:
authorgabriel giovanini <1408882-gabrielgio@users.noreply.gitlab.com>2022-03-23 20:08:49 +0000
committergabriel giovanini <1408882-gabrielgio@users.noreply.gitlab.com>2022-03-23 20:08:49 +0000
commit6166cf8e4008b7d64053655f4093d0870a54ace1 (patch)
tree2d1f128e6e98e11eee7c5961ac571891d9affc1d /themes/ananke/layouts/partials/social-share.html
parentac8603a37fad988e6c7da99c26ee91a3be34ef55 (diff)
downloadgabrielgio.me-6166cf8e4008b7d64053655f4093d0870a54ace1.tar.gz
gabrielgio.me-6166cf8e4008b7d64053655f4093d0870a54ace1.tar.bz2
gabrielgio.me-6166cf8e4008b7d64053655f4093d0870a54ace1.zip
feat: Remove unused theme
Diffstat (limited to 'themes/ananke/layouts/partials/social-share.html')
-rw-r--r--themes/ananke/layouts/partials/social-share.html26
1 files changed, 0 insertions, 26 deletions
diff --git a/themes/ananke/layouts/partials/social-share.html b/themes/ananke/layouts/partials/social-share.html
deleted file mode 100644
index eb313c0..0000000
--- a/themes/ananke/layouts/partials/social-share.html
+++ /dev/null
@@ -1,26 +0,0 @@
-{{ $title := .Title }}
-{{ $url := printf "%s" .Permalink | absLangURL }}
-{{ $icon_size := "32px" }}
-
-{{ if not .Params.disable_share }}
- <div id="sharing" class="mt3">
-
- {{ $facebook_href := printf "https://www.facebook.com/sharer.php?u=%s" $url }}
- <a href="{{ $facebook_href }}" class="facebook no-underline" aria-label="share on Facebook">
- {{ partialCached "svg/facebook.svg" (dict "size" $icon_size) $icon_size }}
- </a>
-
- {{ $twitter_href := printf "https://twitter.com/share?url=%s&text=%s" $url $title }}
- {{ with .Site.Social.twitter }}
- {{ $twitter_href = printf "%s&via=%s" $twitter_href . }}
- {{ end }}
- <a href="{{ $twitter_href }}" class="twitter no-underline" aria-label="share on Twitter">
- {{ partialCached "svg/twitter.svg" (dict "size" $icon_size) $icon_size }}
- </a>
-
- {{ $linkedin_href := printf "https://www.linkedin.com/shareArticle?mini=true&url=%s&title=%s" $url $title }}
- <a href="{{ $linkedin_href }}" class="linkedin no-underline" aria-label="share on LinkedIn">
- {{ partialCached "svg/linkedin.svg" (dict "size" $icon_size) $icon_size }}
- </a>
- </div>
-{{ end }}