Add a Flattr button to the site because I'm a greedy yet curious bastard

This commit is contained in:
R. Tyler Croy 2011-06-19 15:06:10 -07:00
parent 4f13c4ae3e
commit da5f9ffb1c
2 changed files with 18 additions and 0 deletions

11
_includes/flattr.html Normal file
View File

@ -0,0 +1,11 @@
<script type="text/javascript">
/* <![CDATA[ */
(function() {
var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
s.type = 'text/javascript';
s.async = true;
s.src = 'http://api.flattr.com/js/0.6/load.js?mode=auto';
t.parentNode.insertBefore(s, t);
})();
/* ]]> */
</script>

View File

@ -69,7 +69,13 @@
<span class="country-name">USA</span>
</div>
<div>
<a class="FlattrButton" style="display:none;" href="http://unethicalblogger.com" rev="flattr;button:compact;" ></a>
<noscript><a href="http://flattr.com/thing/315474/unethical-blogger" target="_blank"><img src="http://api.flattr.com/button/flattr-badge-large.png" alt="Flattr this" title="Flattr this" border="0" /></a></noscript>
</div>
{% unless page.title %}
<br/>
<h3>Recent Comments</h3>
<div id="dsq-recentcomments" class="dsq-widget">
<script
@ -101,6 +107,7 @@
{% endfor %}
{% include analytics.html %}
{% include flattr.html %}
{% include apture.html %}
</body>