Browse Source

all social buttons finished

Oz N Tiram 9 years ago
parent
commit
14b89da851
1 changed files with 3 additions and 3 deletions
  1. 3 3
      templates/entry.html

+ 3 - 3
templates/entry.html

@@ -10,12 +10,12 @@
   {% for tag in entry.tags %}<a class="tag" href="/tags/{{ tag.slug }}"><span>{{ tag.name }}</span></a>{% if not loop.last %}, {% endif %}{% endfor %}
 </div>
 <div id="social-btns" style="margin-top: 50px; margin-bottom: 0px">
-	<h4>Share this post:</h4> 
+	<h4>Share this post:</h4>
 	<a href="https://www.linkedin.com/shareArticle?mini=true&url={{site_url}}{{entry.permalink}}&title={{entry.title}}&source={{site_url}}" onclick="javascript:window.open(this.href, 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;"><i class="fa fa-linkedin-square fa-2x"></i></a>
-	<i class="fa fa-facebook-square fa-2x"></i>
+  <a href="http://www.facebook.com/sharer/sharer.php?u={{site_url}}{{entry.permalink}}&title={{entry.title}}" onclick="javascript:window.open(this.href, 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;"><i class="fa fa-facebook-square fa-2x"></i></a>
 	<a class="tweet" href="{{site_url}}/{{entry.permalink}}" title="{{entry.title}}" target="_blank"><i class="fa fa-twitter-square fa-2x"></i></a>
 	<a href="https://plus.google.com/share?url={{site_url}}{{entry.permalink}}" onclick="javascript:window.open(this.href, 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;"><i class="fa fa-google-plus-square fa-2x"></i></a>
-	<i class="fa fa-envelope-square fa-2x"></i>
+	<a href="mailto:?subject={{site_url}}{{entry.permalink}}&body={{entry.title}}" onclick="javascript:window.open(this.href, 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;"><i class="fa fa-envelope-square fa-2x"></i></a>
 </div>
 <div id="underpost">
   <h3>Discussions/Feedback.</h3>