Sha256: a79ea72e3bc7223780d9e07e9d4f46146ea31fa8f4f385323885734cae54126a
Contents?: true
Size: 1.62 KB
Versions: 1
Compression:
Stored size: 1.62 KB
Contents
<!DOCTYPE HTML> <!-- Prologue by HTML5 UP html5up.net | @ajlkn Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) --> <html> {% include head.html %} <body> {% include header.html %} <!-- Main --> <div id="main"> {% assign sections = site.sections | where_exp: 'section','section.order >= 1' %} {% if page.permalink %} <!-- This if statement enables the 404 page --> {% assign sections = sections | push: page %} {% endif %} {% unless sections == null %} {% assign sections = sections | sort: 'order' %} <!-- Sections --> {% for section in sections %} {% assign title = section.title | default: 'Untitled' %} {% assign slug = section.title | slugify | default: 'untitled' %} {% if section.order == 1 %} {% assign class = 'shade-one cover dark' %} {% else %} {% capture class %} shade-{% cycle 'two', 'three', 'four', 'three' %} {% endcapture %} {% endif %} {% if section.auto-header == 'none' %} {% assign heading = "" %} {% elsif section.auto-header == null or section.auto-header == 'use-title' %} {% capture heading %} <header> <h2>{{ title }}</h2> </header> {% endcapture %} {% else %} {% capture heading %} <header> <h2>{{ section.auto-header }}</h2> </header> {% endcapture %} {% endif %} {% include section.html id=slug class=class heading=heading content=section.content %} {% endfor %} {% endunless %} </div> {% include footer.html %} </body> </html>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jekyll-theme-prologue-0.2.3 | _layouts/home.html |