From 47126e37d5196a2133a716f8f35dcc8311e75b1b Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Fri, 28 Aug 2020 17:34:55 +0530 Subject: [PATCH] baseof : use partialCached for header and footer ref: https://gohugo.io/functions/partialcached/ --- layouts/_default/baseof.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 106f360c..2470c2c6 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -8,12 +8,12 @@ - {{- partial "header.html" . }} + {{- partialCached "header.html" . }}
{{- block "main" . }} {{end }}
- {{- partial "footer.html" . }} + {{- partialCached "footer.html" . }} \ No newline at end of file