Sha256: 81cb1d7435bb8842553cd831c9d7047c8eb5162e7f4413f78e23606ea50c2743
Contents?: true
Size: 887 Bytes
Versions: 14
Compression:
Stored size: 887 Bytes
Contents
{%- assign workdir = include.workdir | default: "/" -%} {%- assign workdir_level = workdir | append: "temp" | replace_first: "/", "" | split: "/" | size -%} {%- assign workdir_files = site_files | where_exp: "item", "item.dir == workdir" -%} {%- capture items -%} {%- for item in site_dirs -%} {%- assign current_m1 = item.dir | append: "temp" | replace_first: "/", "" | split: "/" | size | minus: 1 -%} {%- if workdir_level == current_m1 -%} {%- assign temp = workdir | append: "@@" -%} {%- assign dir = item.dir | replace: workdir, temp | split: "@@" | first -%} {% comment %} In the current subdirectory {% endcomment %} {%- if workdir == dir -%} {{ item.dir }}| {%- endif -%} {%- endif -%} {%- endfor -%} {%- endcapture -%} {%- assign workdir_dirs = items | split: "|" -%}
Version data entries
14 entries across 14 versions & 2 rubygems