]>
Commit | Line | Data |
---|---|---|
1 | {% set readingTime = entry.readingTime / app.user.config.readingSpeed %} | |
2 | <i class="material-icons">timer</i> | |
3 | {% if readingTime > 0 %} | |
4 | <span>{{ 'entry.list.reading_time_minutes_short'|trans({'%readingTime%': readingTime|round}) }}</span> | |
5 | {% else %} | |
6 | <span>{{ 'entry.list.reading_time_less_one_minute_short'|trans|raw }}</span> | |
7 | {% endif %} |