Pass in context like in partials/posts.html
---
Without this patch, seems like every post page's meta section has a
lonely "word" line (.WordCount is evaluating to nothing).
Tested to work with hugo v0.83.1
NOTE: did not run linters
layouts/partials/post-meta.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/layouts/partials/post-meta.html b/layouts/partials/post-meta.html
index d7aab02..b836d74 100644
--- a/layouts/partials/post-meta.html+++ b/layouts/partials/post-meta.html
@@ -11,6 +11,6 @@
{{- end }}
</li>
<li>
- {{ partial "wordcount.html" }}+ {{ partial "wordcount.html" . }} </li>
</ul>
--
2.30.2