Initial commit (stolen from https://gitlab.utc.fr/jrda-2021/website)
This commit is contained in:
15
_themes/prologue/_layouts/home.html
Normal file
15
_themes/prologue/_layouts/home.html
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
layout: default
|
||||
---
|
||||
{%- assign _sections = site.sections | sort: 'order' -%}
|
||||
{%- include header.html scrolly_nav=_sections -%}
|
||||
<!-- Main -->
|
||||
<div id="main">
|
||||
{%- if page.content != "" -%}
|
||||
{%- include section.html title=page.title photo=page.cover-photo photo-alt=page.cover-photo-alt auto-header=page.auto-header content=page.content -%}
|
||||
{%- endif -%}
|
||||
<!-- Sections -->
|
||||
{%- for _section in _sections -%}
|
||||
{%- include section.html title=_section.title photo=_section.cover-photo photo-alt=_section.cover-photo-alt auto-header=_section.auto-header content=_section.content -%}
|
||||
{%- endfor -%}
|
||||
</div>
|
||||
Reference in New Issue
Block a user