diff --git a/po/plume.pot b/po/plume.pot index 7d698ed..d64da1b 100644 --- a/po/plume.pot +++ b/po/plume.pot @@ -249,3 +249,5 @@ msgstr "" msgid "You need to be logged in order to edit your profile" msgstr "" +msgid "By {{ link_1 }}{{ link_2 }}{{ link_3 }}{{ name }}{{ link_4 }}" +msgstr "" diff --git a/templates/blogs/new.html.tera b/templates/blogs/new.html.tera index 0f89bce..036cd2a 100644 --- a/templates/blogs/new.html.tera +++ b/templates/blogs/new.html.tera @@ -10,6 +10,6 @@ - + - | _ {% endblock content %} +{% endblock content %} diff --git a/templates/macros.html.tera b/templates/macros.html.tera index 3cce728..80ad802 100644 --- a/templates/macros.html.tera +++ b/templates/macros.html.tera @@ -7,6 +7,14 @@

{{ article.post.title }}

{{ article.post.content | striptags | truncate(length=200) }}

-

By {{ name }} ⋅ {{ article.date | date(format="%B %e") }}

+

+ {{ "By {{ link_1 }}{{ link_2 }}{{ link_3 }}{{ name }}{{ link_4 }}" | _( + link_1='', + name=name, + link_4="") + }} + ⋅ {{ article.date | date(format="%B %e") }}

{% endmacro post_card %} diff --git a/templates/notifications/index.html.tera b/templates/notifications/index.html.tera index bbe7961..194581d 100644 --- a/templates/notifications/index.html.tera +++ b/templates/notifications/index.html.tera @@ -9,7 +9,7 @@
{% for notification in notifications %}
-

{{ notification.title }}

+

{{ notification.title | _ }}

{% if notification.content %}

{{ notification.content }}

{% endif %}