diff options
author | Martin Ashby <martin@ashbysoft.com> | 2023-08-14 21:45:25 +0100 |
---|---|---|
committer | Martin Ashby <martin@ashbysoft.com> | 2023-08-22 10:10:02 +0100 |
commit | 6a8a204020449fee3d8ef5e6175932e3731389f0 (patch) | |
tree | 35af7c5a1c19fa95c3c85d106cbc748fc20fc982 /zig-comments/src/templates | |
parent | ff092976a9fdeeba96a0de13d013b9d838640c40 (diff) | |
download | mfashby.net-6a8a204020449fee3d8ef5e6175932e3731389f0.tar.gz mfashby.net-6a8a204020449fee3d8ef5e6175932e3731389f0.tar.bz2 mfashby.net-6a8a204020449fee3d8ef5e6175932e3731389f0.tar.xz mfashby.net-6a8a204020449fee3d8ef5e6175932e3731389f0.zip |
Misc fixes:
- fix template in comments.html: whitespace before tag names is not
allowed
- update mustache-zig version
- null-terminate field names in zig struts, for C interop with
PQfnumber function
Diffstat (limited to 'zig-comments/src/templates')
-rw-r--r-- | zig-comments/src/templates/comments.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/zig-comments/src/templates/comments.html b/zig-comments/src/templates/comments.html index a1d8b76..e2fc6da 100644 --- a/zig-comments/src/templates/comments.html +++ b/zig-comments/src/templates/comments.html @@ -1,9 +1,9 @@ <ul class="comments"> -{{ #comments }} +{{#comments}} <li class="comment"> - <span class="comment author">{{ author }}</span> - <p class="comment content">{{ comment }}</p> - <span class="comment timestamp">{{ ts }}</span> + <span class="comment author">{{author}}</span> + <p class="comment content">{{comment}}</p> + <span class="comment timestamp">{{ts}}</span> </li> -{{ /comments }} +{{/comments}} </ul> |