From e1a4df05e8607090d012eb806fd47f58b46e7f0e Mon Sep 17 00:00:00 2001
From: Anthony Fok <foka@debian.org>
Date: Wed, 3 Sep 2014 18:47:06 -0600
Subject: Use `partial` call to include partial templates

Replace `template` call with the `partial` call (new in Hugo v0.12)
for including partial templates
---
 layouts/_default/list.html   | 4 ++--
 layouts/_default/single.html | 4 ++--
 layouts/index.html           | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

(limited to 'layouts')

diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index b911013..f19a26f 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -1,7 +1,7 @@
-{{ template "theme/partials/head.html" . }}
+{{ partial "head.html" . }}
 <body>
 
-  {{ template "theme/partials/sidebar.html" . }}
+{{ partial "sidebar.html" . }}
 
   <div class="content container">
     <ul class="posts">
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index e0b2f94..61d009d 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,7 +1,7 @@
-{{ template "theme/partials/head.html" . }}
+{{ partial "head.html" . }}
 <body>
 
-{{ template "theme/partials/sidebar.html" . }}
+{{ partial "sidebar.html" . }}
 
     <div class="content container">
 <div class="post">
diff --git a/layouts/index.html b/layouts/index.html
index b8c9d65..b26cdf5 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,7 +1,7 @@
-{{ template "theme/partials/head.html" . }}
+{{ partial "head.html" . }}
 <body>
 
-{{ template "theme/partials/sidebar.html" . }}
+{{ partial "sidebar.html" . }}
 
     <div class="content container">
 <div class="posts">
-- 
cgit v1.2.1-24-ge1ad