{% assign index = page.url.size | minus: 2 %} {% assign directory = page.url | slice: 1, index | remove_first: "symbol/" %} {% assign baseurl = site.github.baseurl %}
{% if site.style == 'list' %}
-
{% elsif site.style == 'nlist' %}
- {{ directory }} {% else %}
- {{ directory | replace: site.spacification, ' ' }} {% endif %} {% endif %} {% assign printed_files = '' | split: '' %} {% for file in site.static_files %} {% if site.extensions == null or site.extensions contains file.extname %} {% assign dirs = file.path | split: '/' %} {% if dirs[1] == directory or dirs[2] == directory %} {% unless printed_files contains dirs.last %} {% assign last = dirs.last | split: ',' %} {% assign printed_files = printed_files | concat: last %} {% if site.style contains 'list' %}
-
{% elsif site.style == 'dir' %}
- {% endif %} {% if site.html_link contains file.extname %} {% assign index = file.path.size | minus: file.extname.size %} {% assign fpath = file.path | slice: 0, index %} {% if site.style == 'dir' %} {% assign fname = file.basename %} {% else %} {% assign fname = fpath | slice: 1, fpath.size %} {% endif %} {% if site.truncate == null %} {{ fname }} ({{ file.extname }}) {% else %} {{ fname | truncate: site.truncate }} ({{ file.extname }}) {% endif %} {% else %} {% if site.style == 'dir' %} {% assign fname = file.name %} {% else %} {% assign fname = file.path | slice: 1, file.path.size %} {% endif %} {% if site.truncate == null %} {{ fname }} {% else %} {{ fname | truncate: site.truncate }} {% endif %} {% endif %} {% if site.style contains 'list' %}
{% elsif site.style == 'dir' %}
{% elsif site.style == null %}
-
{% elsif site.style == 'dir' %}
-
{% if site.spacification == null %}
{% endif %} {% endunless %} {% endif %} {% endif %} {% endfor %} {% if site.style == 'list' %}
This site is done with jeklist