From d38e4be45711c49174079fe57c2af959891e2cde Mon Sep 17 00:00:00 2001 From: digitalcraftsman Date: Fri, 19 May 2017 21:38:45 +0200 Subject: Cache partials where possible --- layouts/_default/baseof.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 747bd46..7f70065 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,11 +1,11 @@ {{ partial "head" . }}
- {{ partial "header" . }} + {{ partialCached "header" . }}
{{ if not .Params.disable_profile }} - {{ partial "profile" . }} + {{ partialCached "profile" . }} {{ end }} {{ block "main" . }}{{ end }} @@ -16,6 +16,6 @@
-{{ partial "footer" . }} +{{ partialCached "footer" . }} \ No newline at end of file -- cgit v1.2.3