Add logic to hide page title on index

This commit is contained in:
Adam Hollett
2016-12-19 09:47:33 -05:00
parent 5953c07346
commit 2a847e52fa
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -45,7 +45,7 @@
<span aria-hidden="true">{% include icons/three-bars.svg %}</span> <span aria-hidden="true">{% include icons/three-bars.svg %}</span>
<span>Menu</span> <span>Menu</span>
</button> </button>
<h1>{{ page.title }}</h1> {% unless hide_title %}<h1>{{ page.title }}</h1>{% endunless %}
{{ content }} {{ content }}
</div> </div>
</main> </main>
+1 -1
View File
@@ -1,6 +1,6 @@
--- ---
layout: default layout: default
title: Liquid template language hide_title: true
description: Documentation for the Liquid template language, created by Shopify. description: Documentation for the Liquid template language, created by Shopify.
--- ---