diff options
author | digitalcraftsman <digitalcraftsman@protonmail.com> | 2017-05-19 22:38:45 +0300 |
---|---|---|
committer | digitalcraftsman <digitalcraftsman@protonmail.com> | 2017-05-19 22:38:45 +0300 |
commit | d38e4be45711c49174079fe57c2af959891e2cde (patch) | |
tree | 5778e20d5020733e1b8b085b71e9cc2b8723f54a | |
parent | 62d00ff27ab2e4b363cd1a3aecd8da2fa0ef9bd7 (diff) |
Cache partials where possible
-rw-r--r-- | 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 747bd46..7f70065 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,11 +1,11 @@ {{ partial "head" . }} <div id="container"> - {{ partial "header" . }} + {{ partialCached "header" . }} <div class="outer"> {{ if not .Params.disable_profile }} - {{ partial "profile" . }} + {{ partialCached "profile" . }} {{ end }} {{ block "main" . }}{{ end }} @@ -16,6 +16,6 @@ </div> </div> -{{ partial "footer" . }} +{{ partialCached "footer" . }} </body> </html>
\ No newline at end of file |