diff options
Diffstat (limited to 'pyaggr3g470r/templates')
-rw-r--r-- | pyaggr3g470r/templates/article.html | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/pyaggr3g470r/templates/article.html b/pyaggr3g470r/templates/article.html index 97fb3fbf..f6ef0c5a 100644 --- a/pyaggr3g470r/templates/article.html +++ b/pyaggr3g470r/templates/article.html @@ -1,8 +1,4 @@ {% extends "layout.html" %} -{% block head %} -{{ super() }} -<script src="https://apis.google.com/js/plusone.js"></script> -{% endblock %} {% block content %} <div class="container" data-article="{{ article.id }}"> <div class="well"> @@ -36,12 +32,14 @@ </div> <div class="well"> <a href="https://api.pinboard.in/v1/posts/add?url={{ article.link }}&description={{ article.title }}" rel="noreferrer" target="_blank"> - <img src="/static/img/pinboard.png" title="{{ _('Share on') }} Pinboard" /> + <img src="{{ url_for('static', filename='img/pinboard.png') }}" title="{{ _('Share on') }} Pinboard" /> </a> <a href="http://reddit.com/submit?url={{ article.link }}&title={{ article.title }}" rel="noreferrer" target="_blank"> - <img src="/static/img/reddit.png" title="{{ _('Share on') }} reddit" /> + <img src="{{ url_for('static', filename='img/reddit.png') }}" title="{{ _('Share on') }} reddit" /> + </a> + <a href="https://twitter.com/intent/tweet?url={{ article.link }}&text={{ article.title }}" rel="noreferrer" target="_blank"> + <img src="{{ url_for('static', filename='img/twitter.png') }}" title="{{ _('Share on') }} twitter" > </a> - <g:plusone size="standard" count="true" href="{{ article.link }}"></g:plusone> </div> </div><!-- /.container --> {% endblock %} |