Sha256: 09a406b2a95989a954f540e176ab097313de5219e272da15821abeb20a7029bd

Contents?: true

Size: 1.25 KB

Versions: 1

Compression:

Stored size: 1.25 KB

Contents

{%- comment %} variables {% endcomment -%}
{%- assign version = theme_alias | split: "@" | last -%}
{%- assign docs = site.github -%}
{%- assign rest = docs.public_repositories | where: "html_url", docs.repository_url | first -%}

{%- assign rest_created_at = rest.created_at | default: site.time -%}
{%- assign rest_updated_at = rest.updated_at | default: site.time -%}

{%- comment %} defaults {% endcomment -%}
{%- assign direction = site.direction | default: "auto" -%}
{%- assign lang = site.lang | default: "en" -%}
{%- assign author = docs.owner.name | default: docs.owner_name -%}

{%- capture generator -%}
    {%- if site.remote_theme -%}
        {{- theme_alias | split: "@" | first -}}
    {%- else -%}
        {{- theme_alias | split: "@" | first | split: "/" | last -}}
    {%- endif -%}
{%- endcapture -%}

{%- comment %} schema {% endcomment -%}
{%- assign schema_date = page.date | default: rest_created_at | date_to_xmlschema -%}
{%- assign schema_modi = site.time | date_to_xmlschema -%}
{%- assign schema_surl = page.url  | absolute_url | xml_escape -%}

{% comment %} debug {% endcomment %}
{%- if site.debug -%}
    {%- assign base = site.baseurl -%}
{%- else -%}
    {%- assign base = "https://cdn.jsdelivr.net/gh/" | append: theme_alias -%}
{%- endif -%}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jekyll-rtd-theme-2.0.10 _includes/common/rest/variables.liquid