mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-08-08 23:15:28 +02:00
Fix showing [un]ordered list
This commit is contained in:
parent
dbfc594e66
commit
c3bb1b8b64
1 changed files with 3 additions and 2 deletions
|
@ -1,9 +1,10 @@
|
||||||
{% set tag = 'ul' %}
|
{% set tag = 'ul' %}
|
||||||
|
|
||||||
{% if type == 'orderd' %}
|
{% if style == 'ordered' %}
|
||||||
{% set tag = 'ol' %}
|
{% set tag = 'ol' %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<{{ tag }} class="block-list block-list--{{ type }}">
|
|
||||||
|
<{{ tag }} class="block-list block-list--{{ style }}">
|
||||||
{% for item in items %}
|
{% for item in items %}
|
||||||
<li>
|
<li>
|
||||||
{{ item }}
|
{{ item }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue