Sha256: 511074f6e268a3b975bb90739241f179db5ec952c37204c1391c6345e428275b

Contents?: true

Size: 1.43 KB

Versions: 3

Compression:

Stored size: 1.43 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' %}
			{% unless sections == null %}
				<!-- Sections -->
				{% assign sections = sections | sort: 'order' %}
				{% for section in sections %}
					
					{% assign slug = section.title | slugify | default: 'untitled' %}
					{% assign title = section.title | 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 header = "" %}
					{% elsif section.auto-header == null or section.auto-header == 'use-title' %}
						{% capture header %}
							<header>
								<h2>{{ title }}</h2>
							</header>
						{% endcapture %}
					{% else %}
						{% assign header = section.auto-header %}
					{% endif %}
					
					{% assign content = section.content %}
					
					{% include section.html id=slug class=class header=header content=content %}
				
				{% endfor %}
			
			{% endunless %}
		</div>
		
		{% include footer.html %}
		
	</body>

	</html>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jekyll-theme-prologue-0.2.2 _layouts/home.html
jekyll-theme-prologue-0.2.1 _layouts/home.html
jekyll-theme-prologue-0.2.0 _layouts/default.html