1
0
Fork 0
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:
Taly 2019-01-25 00:01:20 +03:00 committed by GitHub
parent d61818761e
commit 71f192456d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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