Add facebook button

This commit is contained in:
2017-09-12 16:40:28 +02:00
parent d797003028
commit a40c48a792
4 changed files with 27 additions and 1 deletions

View File

@ -12,6 +12,10 @@
</a>
{%- endmacro %}
{% macro facebook_share(news) -%}
<a class="fb-share-button" href="https://www.facebook.com/sharer/sharer.php?u={{ news.get_full_url() }}">{% trans %}Share on Facebook{% endtrans %}</a>
{%- endmacro %}
{% macro user_mini_profile(user) %}
<div id="user_profile">