Add Twitter button

This commit is contained in:
2017-09-12 19:11:52 +02:00
parent a40c48a792
commit d888a6b68a
3 changed files with 25 additions and 3 deletions

View File

@ -1,5 +1,5 @@
{% extends "core/base.jinja" %}
{% from 'core/macros.jinja' import user_profile_link, facebook_share %}
{% from 'core/macros.jinja' import user_profile_link, facebook_share, tweet %}
{% block title %}
{% trans %}News{% endtrans %} -
@ -31,6 +31,7 @@
{% endif %}
</br>
{{ facebook_share(news) }}
{{ tweet(news) }}
</section>
{% endblock %}