Skip to content

Commit

Permalink
Flattr us
Browse files Browse the repository at this point in the history
  • Loading branch information
nicksergeant committed Sep 21, 2010
1 parent 1445b7d commit 02f6c69
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion templates/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,20 @@

{% block body_styles %} id="homepage"{% endblock %}

{% block header %}
<script type="text/javascript">
(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.5.0/load.js?mode=auto';

t.parentNode.insertBefore(s, t);
})();
</script>
{% endblock %}

{% block content %}
<div id="homepage-content">
<div id="homepage-top" class="clearfix">
Expand Down Expand Up @@ -40,6 +54,9 @@ <h3>Signup</h3>
<div class="login left">
<h3>Login</h3>
{% include "registration/login_form.html" %}
<div style="text-align: center; margin-top: 80px;">
<a class="FlattrButton" style="display:none;" href="http://snipt.net"></a>
</div>
</div>
</div>
</div>
Expand Down Expand Up @@ -71,4 +88,4 @@ <h2>It's good for storing small pieces of code or commands that you use rather f
</div>
</div>
</div>
{% endblock %}
{% endblock %}

0 comments on commit 02f6c69

Please sign in to comment.