Skip to content

Latest commit

 

History

History
89 lines (87 loc) · 3.43 KB

index.md

File metadata and controls

89 lines (87 loc) · 3.43 KB


{% if site.style == 'list' %}
    {% elsif site.style == 'nlist' %}
      {% endif %} {% assign directory = '' %} {% assign baseurl = site.github.baseurl %} {% for file in site.static_files %} {% if site.extensions == null or site.extensions contains file.extname %} {% assign dirs = file.path | split: '/' %} {% unless site.style == 'dir' and dirs.size < 3 %} {% unless dirs[1] == 'symbol' %} {% if dirs[1] != directory and site.style == 'dir' %} {% if directory != '' %} {% endif %} {% assign directory = dirs[1] %}
      {% if site.dir_links %} {% if site.dir_spacification == null %}
      {{ directory }}
      {% else %}
      {{ directory | replace: site.dir_spacification, ' ' }}
      {% endif %} {% else %} {% if site.dir_spacification == null %}
      {{ directory }}
      {% else %}
      {{ directory | replace: site.dir_spacification, ' ' }}
      {% endif %} {% endif %} {% endif %} {% if site.directories == null or site.directories contains dirs[1] %} {% if site.style contains 'list' %}
    1. {% 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' %}
    2. {% elsif site.style == 'dir' %} {% elsif site.style == null %}
      {% endif %} {% endif %} {% endunless %} {% endunless %} {% endif %} {% endfor %} {% if site.style == 'list' %}
{% elsif site.style == 'nlist' %} {% elsif site.style == 'dir' %} {% endif %}

This site is done with jeklist by fgallaire