Skip to content

Commit ddd7b01

Browse files
committed
Merge branch 'karan'
2 parents bc5be48 + 9499f78 commit ddd7b01

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

core_blog/templates/core_blog/blocks/social.html

+5
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@
22

33
<div class="button-group">
44
<a target="_blank" href="https://www.facebook.com/sharer/sharer.php?u={{request.get_host}}{{ post.get_absolute_url }}" class="social facebook"><img width="40px" src="{% static 'images/social/facebook-min.png'%}"></a>
5+
56
<a target="_blank" href="https://twitter.com/intent/tweet?url={{request.get_host}}{{ post.get_absolute_url }}&via={{ post.author }}&text={{ post.title }}&original_referer=https://fosstack.com{{ post.get_absolute_url }}&hashtags={{ post.tags.all }}" class="social twitter"><img width="40px" src="{% static 'images/social/twitter-min.png'%}"></a>
7+
68
<a target="_blank" href="https://www.linkedin.com/shareArticle?mini=true&url={{request.get_host}}{{ post.get_absolute_url }}&title={{ post.title }}&summary={{ post.description }}&source=" class="social linkedin"><img width="40px" src="{% static 'images/social/linkedin-min.png'%}"></a>
9+
10+
<a target="_blank" onclick="window.location = '//www.reddit.com/submit?url=' + encodeURIComponent(window.location) + '&title={{ post.title }}'; return false" href="//www.reddit.com/submit" class="social reddit"><img width="40px" src="{% static 'images/social/reddit-icon.svg'%}"></a>
11+
712
</div>
813
<br>

static/images/social/reddit-icon.svg

+1
Loading

0 commit comments

Comments
 (0)