-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enabled translations to post elements
- Loading branch information
1 parent
2a91712
commit 41b1f97
Showing
4 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
<section class="share"> | ||
<h3>Share</h3> | ||
<a aria-label="Share on Twitter" href="https://twitter.com/intent/tweet?text="{{ page.description }}"%20{{ site.url }}{{ page.url }}%20via%20@{{ site.twitter_username }}&hashtags={% for tag in page.tags %}{{tag}},{% endfor %}" | ||
onclick="window.open(this.href, 'twitter-share', 'width=550,height=235');return false;" title="Share on Twitter"> | ||
<h3>{{ site.translations.text.share | default: "Share" }}</h3> | ||
<a aria-label="{{ site.translations.button.share_on_twitter | default: 'Share on Twitter' }}" href="https://twitter.com/intent/tweet?text="{{ page.description }}"%20{{ site.url }}{{ page.url }}%20via%20@{{ site.twitter_username }}&hashtags={% for tag in page.tags %}{{tag}},{% endfor %}" | ||
onclick="window.open(this.href, 'twitter-share', 'width=550,height=235');return false;" title="{{ site.translations.button.share_on_twitter | default: 'Share on Twitter' }}"> | ||
<svg class="icon icon-twitter"><use xlink:href="#icon-twitter"></use></svg> | ||
</a> | ||
<a aria-label="Share on Facebook"href="https://www.facebook.com/sharer/sharer.php?u={{ site.url }}{{ page.url }}" | ||
onclick="window.open(this.href, 'facebook-share','width=580,height=296');return false;" title="Share on Facebook"> | ||
<a aria-label="{{ site.translations.button.share_on_facebook | default: 'Share on Facebook' }}" href="https://www.facebook.com/sharer/sharer.php?u={{ site.url }}{{ page.url }}" | ||
onclick="window.open(this.href, 'facebook-share','width=580,height=296');return false;" title="{{ site.translations.button.share_on_facebook | default: 'Share on Facebook' }}"> | ||
<svg class="icon icon-facebook"><use xlink:href="#icon-facebook"></use></svg> | ||
</a> | ||
</section> |