diff options
Diffstat (limited to 'pyaggr3g470r/templates')
-rw-r--r-- | pyaggr3g470r/templates/article.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pyaggr3g470r/templates/article.html b/pyaggr3g470r/templates/article.html index 9174aea3..51f7c485 100644 --- a/pyaggr3g470r/templates/article.html +++ b/pyaggr3g470r/templates/article.html @@ -1,4 +1,8 @@ {% extends "layout.html" %} +{% block head %} +{{ super() }} +<script src="https://apis.google.com/js/plusone.js"></script> +{% endblock %} {% block content %} <div class="container"> <div class="jumbotron"> @@ -14,5 +18,11 @@ <div class="jumbotron"> {{ article.content|safe }} </div> + <div class="jumbotron"> + <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" /> + </a> + <g:plusone size="standard" count="true" href="{{ article.link }}"></g:plusone> + </div> </div><!-- /.container --> {% endblock %} |