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