blocktrans for reading goal

This commit is contained in:
Hugh Rundle 2021-12-02 07:28:35 +11:00
parent 8e6619294f
commit 2ec6e56698
No known key found for this signature in database
GPG key ID: CD23D6039184286B

View file

@ -54,7 +54,8 @@
{% if goal %}
<div class="block">
<h2 class="title">{% now 'Y' %} {% trans 'Reading Goal' %}</h2>
{% now 'Y' as current_year%}
<h2 class="title">{% blocktrans %}{{ current_year }} Reading Goal{% endblocktrans %}</h2>
{% include 'snippets/goal_progress.html' with goal=goal %}
</div>
{% endif %}