aboutsummaryrefslogtreecommitdiff
path: root/zig-comments/src/templates/comments.html
diff options
context:
space:
mode:
authorMartin Ashby <martin@ashbysoft.com>2023-08-04 22:29:41 +0100
committerMartin Ashby <martin@ashbysoft.com>2023-08-11 22:48:56 +0100
commitf3302ecb76be3f42d782d73a58552775416b5052 (patch)
tree69fd40b315af876b3885769cbf4dedd83f1783b1 /zig-comments/src/templates/comments.html
parent6ee53f319847e7535b19d2661fa501bcb423ef42 (diff)
downloadmfashby.net-zig-comments.tar.gz
mfashby.net-zig-comments.tar.bz2
mfashby.net-zig-comments.tar.xz
mfashby.net-zig-comments.zip
Convert comments to zigzig-comments
Diffstat (limited to 'zig-comments/src/templates/comments.html')
-rw-r--r--zig-comments/src/templates/comments.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/zig-comments/src/templates/comments.html b/zig-comments/src/templates/comments.html
new file mode 100644
index 0000000..a1d8b76
--- /dev/null
+++ b/zig-comments/src/templates/comments.html
@@ -0,0 +1,9 @@
+<ul class="comments">
+{{ #comments }}
+ <li class="comment">
+ <span class="comment author">{{ author }}</span>
+ <p class="comment content">{{ comment }}</p>
+ <span class="comment timestamp">{{ ts }}</span>
+ </li>
+{{ /comments }}
+</ul>