You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ozgurkon-theme-hugo/layouts/partials/social-sharer.html

8 lines
277 B

{{- if (eq .name "twitter") -}}
{{ $text := i18n "twitter_share_text" }}
<a href="https://twitter.com/share?url={{ .url }}&text={{ $text }}"
class="social" rel="noreferrer" target="_blank">
{{ partial "icon.html" .name }}
{{- i18n "twitter_share_label" -}}
</a>
{{- end -}}