_layouts/home.html in jekyll-theme-prologue-0.2.3 vs _layouts/home.html in jekyll-theme-prologue-0.2.4
- old
+ new
@@ -1,10 +1,11 @@
<!DOCTYPE HTML>
<!--
Prologue by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
+ Jekyll integration by Chris Bobbe | chrisbobbe.github.io
-->
<html>
{% include head.html %}
@@ -15,10 +16,11 @@
<!-- Main -->
<div id="main">
{% assign sections = site.sections | where_exp: 'section','section.order >= 1' %}
{% if page.permalink %}
- <!-- This if statement enables the 404 page -->
+ <!-- This enables the 404 page, the only page that should
+ have a permalink declared in its frontmatter. -->
{% assign sections = sections | push: page %}
{% endif %}
{% unless sections == null %}
{% assign sections = sections | sort: 'order' %}
\ No newline at end of file