From 2a847e52fa9e6f375c2e753eee2463484efdab75 Mon Sep 17 00:00:00 2001 From: Adam Hollett Date: Mon, 19 Dec 2016 09:47:33 -0500 Subject: [PATCH] Add logic to hide page title on index --- _layouts/default.html | 2 +- index.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_layouts/default.html b/_layouts/default.html index 75c7682..4182354 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -45,7 +45,7 @@ Menu -

{{ page.title }}

+ {% unless hide_title %}

{{ page.title }}

{% endunless %} {{ content }} diff --git a/index.md b/index.md index 6d38cc1..2c95885 100644 --- a/index.md +++ b/index.md @@ -1,6 +1,6 @@ --- layout: default -title: Liquid template language +hide_title: true description: Documentation for the Liquid template language, created by Shopify. ---