]> git.xolatile.top Git - emil-3chen.org.git/commitdiff
--
authorEmil Williams <emilemilemil@cock.li>
Fri, 16 May 2025 22:47:22 +0000 (16:47 -0600)
committerEmil Williams <emilemilemil@cock.li>
Fri, 16 May 2025 22:47:22 +0000 (16:47 -0600)
perl/Triple.pm
tt/img

index 458e12ce5a6c78196501f2c77c111113d72459b1..47603c8c84c33501a4c7e8f4ae6981e24a4b7d38 100644 (file)
@@ -56,11 +56,14 @@ sub Triple::main {
         [ "Post", 1 ],
         [ "Sneed", 2 ],
         );
+    my @threads = (
+        @posts,
+        );
 
     our $vars = {
         sitename => $sitename,
         version  => $version,
-        posts    => \@posts,
+        threads  => \@threads,
     };
 
     while($request->Accept() >= 0) {
diff --git a/tt/img b/tt/img
index daf7de6dfde9ac195d5580ebfc99488423031441..d62876344de084e9d1d51281b3ee85322e48bd9b 100644 (file)
--- a/tt/img
+++ b/tt/img
@@ -47,8 +47,9 @@
     </details>
   </center>
   <p></p><hr>
+  [% FOREACH thread IN threads %]
   <div id="thread">
-    [% FOREACH post IN posts %]
+    [% FOREACH post IN thread %]
     <div id="post">
       <div id="bar">
         Anonymous no. [% post.1 %]
@@ -57,6 +58,7 @@
     </div>
     [% END %]
   </div>
+  [% END %]
 [% INCLUDE footer %]
 </div>
 </body>