소스 검색

working linkedin button

Oz N Tiram 9 년 전
부모
커밋
66cbb21797
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      templates/entry.html

+ 2 - 2
templates/entry.html

@@ -11,10 +11,10 @@
 </div>
 <div id="social-btns" style="margin-top: 50px; margin-bottom: 0px">
 	<h4>Share this post:</h4> 
-	<i class="fa fa-linkedin-square fa-2x"></i>
+	<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 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>
+	<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>
 </div>
 <div id="underpost">