diff options
author | Anthony Fok | 2014-09-03 18:47:06 -0600 |
---|---|---|
committer | spf13 | 2014-09-08 12:13:10 -0400 |
commit | e1a4df05e8607090d012eb806fd47f58b46e7f0e (patch) | |
tree | 068143b0ebb04ab50c66217fd4eca56727397c9f /layouts/index.html | |
parent | 9bd0f367e2a2c911ea896b9ddcc85252e0156f99 (diff) | |
download | hyde-e1a4df05e8607090d012eb806fd47f58b46e7f0e.tar.lz hyde-e1a4df05e8607090d012eb806fd47f58b46e7f0e.tar.zst hyde-e1a4df05e8607090d012eb806fd47f58b46e7f0e.zip |
Use `partial` call to include partial templates
Replace `template` call with the `partial` call (new in Hugo v0.12) for including partial templates
Diffstat (limited to 'layouts/index.html')
-rw-r--r-- | layouts/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
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"> |