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

Merge branch 'master' into beautiful-urls

This commit is contained in:
Peter Savchenko 2019-01-25 02:19:43 +03:00 committed by GitHub
commit a5092e9bd8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 2 deletions

11
nodemon.json Normal file
View file

@ -0,0 +1,11 @@
{
"ignore": [
"node_modules",
"src/frontend",
"public/dist"
],
"events": {
"restart": "echo \"App restarted due to: '$FILENAME'\""
},
"ext": "js,twig"
}

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