{% assign page_infos = '' | split: '' %} {% for page in site.pages %} {% if page.url contains include.group %} {% assign url_arr = page.url | split: "/" %} {% if url_arr.size > 2 %} {% assign underscore_name = url_arr[2] | split: "." %} {% assign page_info = url_arr[1] | append: "1" | append: underscore_name[0] | append: "1" | append: page.title %} {% assign page_info_arr = page_info | split: '12345'%} {% assign page_infos = page_infos | concat: page_info_arr %} {% endif %} {% endif %} {% endfor %} {% if include.cols %} {% assign cols = include.cols %} {% else %} {% assign cols = 3 %} {% endif %}
{% assign cur_idx = 0 %} {% assign max_idx = page_infos | size %} {% for page_info in page_infos %} {% if cur_idx < max_idx %}
{% endif %} {% for page_info in (1..cols) %} {% if cur_idx < max_idx %} {% assign item_arr = page_infos[cur_idx] | split: "1" %} {% assign gif_url = "/" | append: item_arr[0] | append: "/" | append: item_arr[0] | append: "_" | append: item_arr[1] | append: ".gif" %} {% assign link = "/" | append: item_arr[0] | append: "/" | append: item_arr[1] %}
Env image
{% endif %} {% assign cur_idx = cur_idx | plus: 1 %} {% endfor %} {% assign cur_idx = cur_idx | minus: cols %} {% if cur_idx < max_idx %}
{% endif %} {% for page_info in (1..cols) %} {% if cur_idx < max_idx %} {% assign item_arr = page_infos[cur_idx] | split: "1" %}

{{ item_arr[2] }}

{% endif %} {% assign cur_idx = cur_idx | plus: 1 %} {% if cur_idx == max_idx %}
{% endif %} {% endfor %} {% if cur_idx < max_idx %}
{% endif %} {% endfor %} ### Overview