Stop using capture tags for card.html includes

This commit is contained in:
djoate
2019-11-23 15:38:18 -05:00
parent 718a52be07
commit b4cc2cf5e0
3 changed files with 32 additions and 55 deletions

View File

@ -34,7 +34,7 @@
{% elsif include.font %}
<span class="{{ include.font }} panel-item panel-font" alt="{{ include.title }}"></span>
{% endif %}
{{include.description}}
{{include.description | translate_text }}
</p>
<div>
<p>
@ -47,7 +47,7 @@
{% endif %}
</a>
{% elsif include.page %}
<a class="btn btn-{{include.color}} mb-1" href="{{include.page}}">
<a class="btn btn-{{include.color}} mb-1" href="{{include.page | translate_page}}">
{% if include.moretext %}
{{include.moretext}}
{% else %}