{{ article.post.content | striptags | truncate(length=200) }}
diff --git a/po/plume.pot b/po/plume.pot index 7d698ede..d64da1b3 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 0f89bced..036cd2a6 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 3cce7285..80ad8024 100644 --- a/templates/macros.html.tera +++ b/templates/macros.html.tera @@ -7,6 +7,14 @@
{{ 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") }}
{{ notification.content }}
{% endif %}