added flattr to theme
This commit is contained in:
parent
f3048eb8fe
commit
ef6c1b10cd
@ -34,6 +34,7 @@
|
||||
<div class="addthis_sharing_toolbox"></div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% include "partial/flattr.html" %}
|
||||
{% include "partial/disqus.html" %}
|
||||
</article>
|
||||
{% endblock %}
|
||||
|
5
themes/flex/templates/partial/flattr.html
Normal file
5
themes/flex/templates/partial/flattr.html
Normal file
@ -0,0 +1,5 @@
|
||||
{% if FLATTR_USER %}
|
||||
<script id='fbc04dc'>
|
||||
(function(i){var f,s=document.getElementById(i);f=document.createElement('iframe');f.src='//api.flattr.com/button/view/?uid={{ FLATTR_USER }}&button=compact&url='+encodeURIComponent(document.URL);f.title='Flattr';f.height=20;f.width=110;f.scrolling='no';f.style.borderWidth=0;s.parentNode.insertBefore(f,s);})('fbc04dc');
|
||||
</script>
|
||||
{% endif %}
|
Loading…
Reference in New Issue
Block a user