From 8a3113c43d3188836ed87a51def2ffbee2111d41 Mon Sep 17 00:00:00 2001
From: weru <fromweru@gmail.com>
Date: Tue, 09 Mar 2021 13:33:07 +0000
Subject: [PATCH] cache templates
---
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 38e8e81..cc9ec4f 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -28,8 +28,8 @@
{{- block "main" . }}{{ end }}
{{- end }}
</div>
- {{- partial "footer" . }}
- {{- partial "sprites" . }}
- {{- partial "scripts" . }}
+ {{- partialCached "footer" . }}
+ {{- partialCached "sprites" . }}
+ {{- partialCached "scripts" . }}
</body>
</html>
--
Gitblit v1.10.0