Add twitter button to posts
This commit is contained in:
parent
fef9547a1e
commit
42e2ee6a78
|
@ -77,14 +77,11 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/prototype/1.6/prototype.js"></script>
|
||||
|
||||
<div id="content">
|
||||
{{ content }}
|
||||
</div>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
</div>
|
||||
|
||||
{% for js in page.javascript %}
|
||||
|
@ -92,6 +89,7 @@
|
|||
{% endfor %}
|
||||
|
||||
{% include analytics.html %}
|
||||
{% include twitter.html %}
|
||||
{% include apture.html %}
|
||||
|
||||
</body>
|
||||
|
|
|
@ -3,6 +3,10 @@ layout: default
|
|||
---
|
||||
|
||||
<div id="post">
|
||||
<span style="float: right;"><a
|
||||
href="http://twitter.com/share?url=http://unethicalblogger.com{{ page.url }}"
|
||||
class="twitter-share-button" data-count="horizontal"
|
||||
data-via="agentdero">Tweet</a></span>
|
||||
<h2>{{ page.title }}</h2>
|
||||
{{ content }}
|
||||
</div>
|
||||
|
|
|
@ -1,11 +1,7 @@
|
|||
---
|
||||
layout: default
|
||||
javascript:
|
||||
- /javascripts/json_search.0.9.0.js
|
||||
- /javascripts/home.js
|
||||
---
|
||||
|
||||
|
||||
<div id="search_results_area">
|
||||
<h2>Posts <span id="result_count"></span></h2>
|
||||
<ul id="search_results" class="posts">
|
||||
|
|
Loading…
Reference in New Issue