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

Version Path
truesight-rtd-theme-1.0.1 _includes/common/rest/workdir.liquid
truesight-rtd-theme-1.0.0 _includes/common/rest/workdir.liquid
jekyll-rtd-theme-2.0.10 _includes/common/rest/workdir.liquid
jekyll-rtd-theme-2.0.9 _includes/reset/workdir.liquid
jekyll-rtd-theme-2.0.8 _includes/reset/workdir.liquid
jekyll-rtd-theme-2.0.7 _includes/reset/workdir.liquid
jekyll-rtd-theme-2.0.6 _includes/reset/workdir.liquid
jekyll-rtd-theme-2.0.5 _includes/reset/workdir.liquid
jekyll-rtd-theme-2.0.4 _includes/reset/workdir.liquid
jekyll-rtd-theme-2.0.3 _includes/reset/workdir.liquid
jekyll-rtd-theme-1.1.8 _includes/reset/workdir.liquid
jekyll-rtd-theme-2.0.2 _includes/reset/workdir.liquid
jekyll-rtd-theme-2.0.1 _includes/reset/workdir.liquid
jekyll-rtd-theme-2.0.0 _includes/rest/workdir.liquid