~seirdy/seirdy.one-comments

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
2 2

[PATCH] Fix word count in post meta

Details
Message ID
<20220516050020.2674744-1-hedy@tilde.cafe>
DKIM signature
missing
Download raw message
Patch: +1 -1
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
Details
Message ID
<c53e2f4ff3afb3aeaffb48de9ea2536c@tilde.cafe>
In-Reply-To
<20220516050020.2674744-1-hedy@tilde.cafe> (view parent)
DKIM signature
missing
Download raw message
Looks like you've fixed this in 1c73b0e1, never mind :)
Details
Message ID
<20220614035928.kotes4oefp37yni7@seirdy.one>
In-Reply-To
<c53e2f4ff3afb3aeaffb48de9ea2536c@tilde.cafe> (view parent)
DKIM signature
missing
Download raw message
Sorry, this slipped my radar; sourcehut emails hadn't been delivered to 
me for a while. I happened to notice and fix the same problem.

-- 
Seirdy
Reply to thread Export thread (mbox)