diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-08-16 23:29:03 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-08-16 23:29:03 +0200 |
commit | 6d4e19f8d701c7ef054c52c90ed8fec89711b410 (patch) | |
tree | 164ba5bb4367b8372d2121612212338cc5de8345 /pyaggr3g470r | |
parent | Merged in jaesivsm/pyaggr3g470r (pull request #21) (diff) | |
download | newspipe-6d4e19f8d701c7ef054c52c90ed8fec89711b410.tar.gz newspipe-6d4e19f8d701c7ef054c52c90ed8fec89711b410.tar.bz2 newspipe-6d4e19f8d701c7ef054c52c90ed8fec89711b410.zip |
Removed Google tracker.
Diffstat (limited to 'pyaggr3g470r')
-rw-r--r-- | pyaggr3g470r/static/img/twitter.png | bin | 0 -> 640 bytes | |||
-rw-r--r-- | pyaggr3g470r/templates/article.html | 12 |
2 files changed, 5 insertions, 7 deletions
diff --git a/pyaggr3g470r/static/img/twitter.png b/pyaggr3g470r/static/img/twitter.png Binary files differnew file mode 100644 index 00000000..fc11c4ce --- /dev/null +++ b/pyaggr3g470r/static/img/twitter.png 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 %} |