mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-07-19 05:09:41 +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' %}
|
{% 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