Remove partialCached for now because I'm worried of it causing issues

It didn't last very long. Speed isn't really a concern currently since
my sites all generate in ~50ms (on my computer, at least).
This commit is contained in:
2021-10-11 21:35:16 -05:00
parent 93ce39fdac
commit e62ccfd085
6 changed files with 17 additions and 17 deletions

View File

@ -1,8 +1,8 @@
<div class="post">
<h2 class="post-title">
{{ with .Parent.Params.icon }}{{ partialCached "icon.html" . . }}{{ end }}
{{ with .Parent.Params.icon }}{{ partial "icon.html" . }}{{ end }}
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
{{ if .Draft }}{{ partialCached "icon.html" "edit" "edit" }}{{ end }}
{{ if .Draft }}{{ partial "icon.html" "edit" }}{{ end }}
</h2>
{{ partial "post-metadata.html" . }}