diff --git a/layouts/_default/_markup/render-heading.html b/layouts/_default/_markup/render-heading.html
index 3644bda..00c4802 100644
--- a/layouts/_default/_markup/render-heading.html
+++ b/layouts/_default/_markup/render-heading.html
@@ -2,7 +2,7 @@
{{ .Text | safeHTML }}
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 088b260..323b449 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -1,20 +1,11 @@
-{{ partial "credit.html" }}
+{{ partialCached "credit.html" . }}
{{- partial "head.html" . -}}
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index b6adf80..000fc89 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -1,23 +1,23 @@
{{ define "main" }}
{{ if or (eq .Kind "term") (eq .Kind "taxonomy") }}
- {{ partial "icon.html" "filter" }}
+ {{ partialCached "icon.html" "filter" "filter" }}
Filtering for "{{ .Title }}"
{{ if eq .Kind "term" }}
{{ end }}
{{ else }}
- {{ with .Params.icon }}{{ partial "icon.html" . }}{{ end }}
+ {{ with .Params.icon }}{{ partialCached "icon.html" . . }}{{ end }}
{{ .Title | markdownify }}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index c22c4a1..441d2c8 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -2,7 +2,7 @@
{{ .Title | markdownify }}
- {{ if .Draft }}{{ partial "icon.html" "edit" }}{{ end }}
+ {{ if .Draft }}{{ partialCached "icon.html" "edit" "edit" }}{{ end }}
diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html
index 895980f..741e4cf 100644
--- a/layouts/_default/summary.html
+++ b/layouts/_default/summary.html
@@ -1,8 +1,8 @@
- {{ with .Parent.Params.icon }}{{ partial "icon.html" . }}{{ end }}
+ {{ with .Parent.Params.icon }}{{ partialCached "icon.html" . . }}{{ end }}
{{ .Title | markdownify }}
- {{ if .Draft }}{{ partial "icon.html" "edit" }}{{ end }}
+ {{ if .Draft }}{{ partialCached "icon.html" "edit" "edit" }}{{ end }}
{{ partial "post-metadata.html" . }}
diff --git a/layouts/partials/post-metadata.html b/layouts/partials/post-metadata.html
index c39e835..8c73332 100644
--- a/layouts/partials/post-metadata.html
+++ b/layouts/partials/post-metadata.html
@@ -2,7 +2,7 @@
{{ if .Date }}
- {{ partial "icon.html" "calendar" }}
+ {{ partialCached "icon.html" "calendar" "calendar" }}
@@ -11,7 +11,7 @@
{{ if not .Site.Params.repoURL }}
{{ if ne .Lastmod .Date }}
- {{ partial "icon.html" "edit-2" }}
+ {{ partialCached "icon.html" "edit-2" "edit-2" }}
@@ -22,14 +22,14 @@
{{ if .Site.Params.wordcount }}
- {{ partial "icon.html" "type" }}
+ {{ partialCached "icon.html" "type" "type" }}
{{ .WordCount }} words
{{ end }}
{{ if .Site.Params.readingtime }}
- {{ partial "icon.html" "clock" }}
+ {{ partialCached "icon.html" "clock" "clock" }}
{{ .ReadingTime }} {{ if gt .ReadingTime 1 }} mins {{ else }} min {{ end }}
{{ end }}
@@ -37,7 +37,7 @@
{{ if .Site.Params.repoURL }}
{{ with .GitInfo }}
- {{ partial "icon.html" "git-commit" }}
+ {{ partialCached "icon.html" "git-commit" "git-commit" }}
{{ .AbbreviatedHash }}
@@ -48,7 +48,7 @@