diff options
author | Alan Pearce | 2014-09-06 19:35:55 +0100 |
---|---|---|
committer | Alan Pearce | 2014-09-06 19:35:55 +0100 |
commit | e7e5877d1f84576ca16a8a918ed867dc521b7a8f (patch) | |
tree | 9fb965dd28126f8ec39a449d9fe33a540de641e8 /layouts/_default | |
parent | 98e6d265b96cd15b5f3f9eba0ec758d96b374325 (diff) | |
download | hyde-e7e5877d1f84576ca16a8a918ed867dc521b7a8f.tar.lz hyde-e7e5877d1f84576ca16a8a918ed867dc521b7a8f.tar.zst hyde-e7e5877d1f84576ca16a8a918ed867dc521b7a8f.zip |
Use new partial function instead of template
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/list.html | 4 | ||||
-rw-r--r-- | layouts/_default/single.html | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index dd466d8..7bfc824 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,4 +1,4 @@ -{{ template "theme/partials/head.html" . }} +{{ partial "head.html" . }} <body class="theme-base-0b layout-reverse" itemscope itemtype="http://schema.org/Blog"> <main class="content container" role="main"> <h1 class="page-title">{{ .Title }}</h1> @@ -12,6 +12,6 @@ {{ end }} </ul> </main> -{{ template "theme/partials/sidebar.html" . }} +{{ partial "sidebar.html" . }} </body> </html> diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 98435c5..39a71c2 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,4 +1,4 @@ -{{ template "theme/partials/head.html" . }} +{{ partial "head.html" . }} <body class="theme-base-0b layout-reverse" itemscope itemtype="http://schema.org/BlogPosting"> <main class="content container" role="main"> <article class="post"> @@ -11,6 +11,6 @@ </main> </article> </main> -{{ template "theme/partials/sidebar.html" . }} +{{ partial "sidebar.html" . }} </body> </html> |