Back to Exoplayer

Landing

docs/_layouts/landing.html

latest3.2 KB
Original Source

--- layout: page header: false full_width: true article_header: type: overlay align: center height: 80vh ---

{%- for _section in page.data.sections -%} {%- include snippets/get-nav-url.html path=_section.background_image.src -%} {%- assign _url = __return -%} {%- if _section.theme == 'light' -%} {%- else -%} style="background-image: url({{ _url }});"> {%- endif -%}

{{ _section.title }}

{%- if _section.excerpt-%}

{{ _section.excerpt }}

{%- endif -%} {%- if _section.actions -%} {%- for _action in _section.actions -%} {%- include snippets/get-nav-url.html path=_action.url -%} {%- assign _url = __return -%} {%- assign _type = _action.type | default: 'outline-info' -%} - {{ _action.text }} {%- endfor -%} {%- endif -%} {%- if _section.children -%} {%- assign _size = _section.children | size -%}

{%- for child in _section.children -%} {%- if _size >= 2 -%} {%- assign _cell_md_col = 6 -%} {%- else -%} {%- assign _cell_md_col = 12 | divided_by: _size -%} {%- endif -%} {%- if _size >= 4 -%} {%- assign _cell_lg_col = 3 -%} {%- else -%} {%- assign _cell_lg_col = 12 | divided_by: _size -%} {%- endif -%}

{{ child.title }}

{%- if child.excerpt-%}

{{ child.excerpt }}

{%- endif -%} {%- if child.actions -%} {%- for _action in child.actions -%} {%- include snippets/get-nav-url.html path=_action.url -%} {%- assign _url = __return -%} {%- assign _type = _action.type | default: 'outline-info' -%} - {{ _action.text }} {%- endfor -%} {%- endif -%} {%- if child.image and child.image.src -%} {%- if child.image.url -%} {%- include snippets/get-nav-url.html path=child.image.url -%} {%- assign _item_image_url = __return -%} {%- else -%} {%- assign _item_image_url = nil -%} {%- endif -%} {%- include snippets/get-nav-url.html path=child.image.src -%} {%- assign _item_image_src = __return -%} {%- if child.image.is_row -%} {%- endif -%} {%- if _item_image_url -%} {%- endif -%} {%- if _item_image_url -%} {%- endif -%} {%- if child.image.is_row -%} {%- endif -%} {%- endif -%} {%- if child.content-%}

{{ child.content }}

{%- endif -%} {%- endfor-%}

{%- endif -%} {%- if _section.image.full_width == true -%} {% comment %} end hero__content {% endcomment %} {%- endif -%} {%- if _section.image and _section.image.src -%} {%- if _section.image.url -%} {%- include snippets/get-nav-url.html path=_section.image.url -%} {%- assign _section_image_url = __return -%} {%- else -%} {%- assign _section_image_url = nil -%} {%- endif -%} {%- include snippets/get-nav-url.html path=_section.image.src -%} {%- assign _section_image_src = __return -%} {%- if _section.image.is_row -%} {%- endif -%} {%- if _section_image_url -%} {%- endif -%} {%- if _section.image.full_width == true -%} {%- else -%} {%- endif -%} {%- if _section_image_url -%} {%- endif -%} {%- if _section.image.is_row -%} {%- endif -%} {%- endif -%} {%- if _section.image.full_width != true -%} {% comment %} end hero__content {% endcomment %} {%- endif -%} {%- if _section.content-%}

{{ _section.content }}

{%- endif -%} {%- endfor -%} {{ content }}