added tweet share to each article (generates an ugly tweet with html code in it)
This commit is contained in:
+4
-3
@@ -69,16 +69,17 @@
|
||||
% for s in snippets[page * limit:page * limit + limit]:
|
||||
<div class="snippet">
|
||||
<div class="snippet-title">
|
||||
<a href={{s[4]}} rel="nofollow">{{!s[0]}}</a>
|
||||
<a href={{s[3]}} rel="nofollow"><h1>{{!s[0]}}</h1></a>
|
||||
</div>
|
||||
<div class="snippet-content">
|
||||
{{!s[1]}}
|
||||
</div>
|
||||
<div class="snippet-info">
|
||||
{{!s[2]}} • {{!s[3]}}
|
||||
{{!s[2]}} • <a class="share-link share-twitter" href="http://twitter.com/share?text={{s[0]}}&url={{s[3]}}&via=lilchimchooree" target="_blank">tweet</a>
|
||||
|
||||
</div>
|
||||
<div class="snippet-link">
|
||||
<a href={{s[4]}} rel="nofollow">Read More</a>
|
||||
<a href={{s[3]}} rel="nofollow">Read More</a>
|
||||
</div>
|
||||
</div>
|
||||
% end
|
||||
|
||||
Reference in New Issue
Block a user