From 175482653c94ec89b7c9f37a9b148c8fd774a058 Mon Sep 17 00:00:00 2001
From: echarp <manu@echarp.org>
Date: Thu, 21 Mar 2019 23:13:18 +0000
Subject: [PATCH] Optimisation "partialCached" (#165)

---
 layouts/_default/baseof.html |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index e737b48..9dece9f 100755
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -27,7 +27,7 @@
     {{ end }}
 
     {{ block "favicon" . }}
-      {{ partial "site-favicon.html" . }}
+      {{ partialCached "site-favicon.html" . }}
     {{ end }}
 
     {{ if .RSSLink }}
@@ -52,7 +52,7 @@
     <main class="pb7" role="main">
       {{ block "main" . }}{{ end }}
     </main>
-    {{ block "footer" . }}{{ partial "site-footer.html" . }}{{ end }}
-    {{ block "scripts" . }}{{ partial "site-scripts.html" . }}{{ end }}
+    {{ block "footer" . }}{{ partialCached "site-footer.html" . }}{{ end }}
+    {{ block "scripts" . }}{{ partialCached "site-scripts.html" . }}{{ end }}
   </body>
 </html>

--
Gitblit v1.10.0