about summary refs log tree commit diff homepage
path: root/utils.jl
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2022-01-21 17:16:27 +0700
committerNguyễn Gia Phong <mcsinyx@disroot.org>2022-01-21 17:16:27 +0700
commit0a460b07a52460253c4e2cd49ae32b4212c908d4 (patch)
treed70fe2c427a76afd381843a825f1c947d009c1b6 /utils.jl
parent682526e83e309d1ef7e72aec478e10f3ebe59c77 (diff)
downloadsite-0a460b07a52460253c4e2cd49ae32b4212c908d4.tar.gz
Vendor formbox hotfix
Diffstat (limited to 'utils.jl')
-rw-r--r--utils.jl3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils.jl b/utils.jl
index 8383740..f39dee5 100644
--- a/utils.jl
+++ b/utils.jl
@@ -17,9 +17,10 @@ hfun_comments() = @sprintf("https://lists.sr.ht/~cnx/site?search=%s:%s",
 
 function render_comments(template)
   prefix = joinpath(path(:libs), "formbox")
+  format = joinpath(prefix, "format")
   mbox = joinpath(prefix, "mbox")
   template_path = joinpath(prefix, template)
-  readchomp(`formbox $mbox $(message_id()) $template_path`)
+  readchomp(`$format $mbox $(message_id()) $template_path`)
 end
 
 function hfun_comments_rendered()