Sha256: 1e6ef44812bc9bee0d4348e03434c9b182bb65b14d8d539e5744cf00eb356f21
Contents?: true
Size: 874 Bytes
Versions: 3
Compression:
Stored size: 874 Bytes
Contents
{%- assign api_stack = site.emptyArray -%} {%- capture api -%} Load page's `collection`, `fluid` liquid variabiles and `theme`. Are checked in `collection` or `page` scope. {%- endcapture -%} {%- include api/save.html -%} {%- comment -%} Load collection {%- endcomment -%} {%- assign collection = site.collections | where: "label", page.collection | first -%} {%- comment -%} Load fluid {%- endcomment -%} {%- if collection.fluid or page.fluid -%} {%- assign fluid = "-fluid" -%} {%- endif -%} {%- comment -%} Load theme {%- endcomment -%} {%- assign theme = collection.theme | default: page.theme | default: 'basic_light_sans' -%} {%- comment -%} Load sidebar {%- endcomment -%} {%- assign sidebar = collection.sidebar | default: page.sidebar -%} {%- comment -%} Load font-face {%- endcomment -%} {%- assign font_face = collection.font_face | default: page.font_face -%}
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
jekyll-any-theme-0.1.2 | _includes/page/init.html |
jekyll-any-theme-0.1.1 | _includes/page/init.html |
jekyll-any-theme-0.1.0 | _includes/page/init.html |