Pulled in Flattr badge used on blog posts, un-hardcoded image URLs

This commit is contained in:
str4d
2014-02-16 00:23:00 +00:00
parent 94d12243ea
commit bcd6c5aca6
3 changed files with 4 additions and 2 deletions

View File

@ -12,6 +12,8 @@
{% endautoescape %}
<p>
<a href="https://flattr.com/submit/auto?user_id=I2P&url={{ canonical() }}" target="_blank"><img src="https://api.flattr.com/button/flattr-badge-large.png" alt="Flattr this" title="Flattr this" border="0"></a>
<a href="https://flattr.com/submit/auto?user_id=I2P&url={{ canonical() }}" target="_blank">
<img src="{{ url_for('static', filename='images/flattr-badge-large.png') }}" alt="Flattr this" title="Flattr this" border="0">
</a>
</p>
{% endblock %}

View File

@ -130,7 +130,7 @@ You can donate direct via PayPal to the account "{{ account }}".
<br />
<h2><a href="https://flattr.com/">Flattr</a></h2>
<a href="http://flattr.com/thing/13523/Invisible-Internet-Project-I2P">
<img src="/_static/images/flattr-button-static-50x60.png" title="{{ _('Flattr this') }}" style="border:0;" alt="{{ _('Flattr this') }}" /></a>
<img src="{{ url_for('static', filename='images/flattr-button-static-50x60.png') }}" title="{{ _('Flattr this') }}" style="border:0;" alt="{{ _('Flattr this') }}" /></a>
<br />
<br />

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB