From 85dd25b7784f4951e729b5a8ee864461d3458dbe Mon Sep 17 00:00:00 2001 From: Yehonal Date: Fri, 14 Apr 2017 13:28:57 +0200 Subject: Allow custom head, sidebar and footer html --- _layouts/default.html | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/_layouts/default.html b/_layouts/default.html index 54b5c11..40d3812 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -7,6 +7,12 @@ {{ site.title | default: site.github.repository_name }} by {{ site.github.owner_name }} + + {% capture include_head_content %}{% include head.html %}{% endcapture %} + {% unless include_head_content contains "Liquid error" %} + {% include head.html %} + {% endunless %} +