Correction to partial-formatting
This commit is contained in:
parent
a945f0bce0
commit
b01747cbe0
@ -6,8 +6,8 @@
|
|||||||
|
|
||||||
{{ $facebook_href := printf "https://www.facebook.com/sharer.php?u=%s" $url }}
|
{{ $facebook_href := printf "https://www.facebook.com/sharer.php?u=%s" $url }}
|
||||||
{{ $twitter_href := printf "https://twitter.com/intent/tweet?url=%s&text=%s" $url $title }}
|
{{ $twitter_href := printf "https://twitter.com/intent/tweet?url=%s&text=%s" $url $title }}
|
||||||
{{ with site.params.twitter }}
|
{{ with site.params }}
|
||||||
{{ $twitter_href = printf "%s&via=%s" $twitter_href . }}
|
{{ $twitter_href = printf "%s&via=%s" $twitter_href .twitter }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ $linkedin_href := printf "https://www.linkedin.com/shareArticle?mini=true&url=%s&title=%s" $url $title }}
|
{{ $linkedin_href := printf "https://www.linkedin.com/shareArticle?mini=true&url=%s&title=%s" $url $title }}
|
||||||
{{ $hrefs := dict "facebook" $facebook_href "twitter" $twitter_href "linkedin" $linkedin_href }}
|
{{ $hrefs := dict "facebook" $facebook_href "twitter" $twitter_href "linkedin" $linkedin_href }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user