From: Anthony Fok Date: Thu, 4 Sep 2014 00:47:06 +0000 (-0600) Subject: Use `partial` call to include partial templates X-Git-Url: https://njoseph.me/gitweb/hyde.git/commitdiff_plain/e1a4df05e8607090d012eb806fd47f58b46e7f0e Use `partial` call to include partial templates Replace `template` call with the `partial` call (new in Hugo v0.12) for including partial templates --- 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" . }} - {{ template "theme/partials/sidebar.html" . }} +{{ partial "sidebar.html" . }}