additions from backlog

This commit is contained in:
Trilarion
2021-09-22 13:15:48 +02:00
parent f0198312b4
commit 559741621a
22 changed files with 289 additions and 184 deletions

View File

@ -6,7 +6,7 @@
{%- for e in entry -%}{{ render_element(e) }}{%- endfor -%}
{%- elif entry['type'] == 'text' -%}
{{ render_text(entry) }}
{%- elif entry['type'] == 'icon' -%}
{%- elif entry['type'] == 'icon' -%}
{{ render_icon(entry) }}
{%- elif entry['type'] == 'url' -%}
{{ render_url(entry) }}
@ -32,7 +32,7 @@
{# Renders an icon #}
{%- macro render_icon(icon) -%}
<span class="icon has-text-black" {% if 'title' in icon %} title="{{ icon['title'] }}"{% endif %}><i class="icon-{{ icon['class'] }}"></i></span>
<span class="icon is-large has-text-black" {% if 'title' in icon %} title="{{ icon['title'] }}"{% endif %}><i class="icon-{{ icon['class'] }}"></i></span>
{%- endmacro -%}
{# Some text surrounded by a link tag #}