1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-08-08 06:55:26 +02:00

Fix showing [un]ordered list

This commit is contained in:
Taly 2019-01-17 13:33:00 +03:00 committed by GitHub
parent dbfc594e66
commit c3bb1b8b64
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 }}