Update date.html.twig
This commit is contained in:
parent
c90c9d2a2a
commit
1fe133ecc2
1 changed files with 1 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
|||
<span class="blog-date">
|
||||
{% if config.plugins.readingtime.enabled %}
|
||||
{% set readingtime = page.content|readingtime({'format': '{minutes_short_count} {minutes_text}'}) %}
|
||||
<span title="{{ 'PLUGIN_READINGTIME.TAG_TITLE'|t }}">{{ readingtime != '0 minutos' ? '| <i class="fa fa-clock-o"></i> '~readingtime : '' }}</span>
|
||||
<span title="{{ 'PLUGIN_READINGTIME.TAG_TITLE'|t }}">{{ readingtime != '0 minutos' ? '<i class="fa fa-clock-o"></i> '~readingtime : '' }}</span>
|
||||
{% endif %}
|
||||
{% if config.plugins.snappygrav.enabled and authorize(['site.parceiro', 'site.colaborador', 'site.moderador', 'admin.super']) %}
|
||||
| <span class="btn-snappygrav">{{ snappygrav( page.route ) }}</span>
|
||||
|
|
|
|||
Loading…
Reference in a new issue