about summary refs log tree commit diff
path: root/blog.node5.net
diff options
context:
space:
mode:
authoruser@node5.net <user@node5.net>2025-07-19 15:18:48 +0200
committeruser@node5.net <user@node5.net>2025-07-19 15:18:48 +0200
commit1de5e27008b309a352f5c967dce253d956e40421 (patch)
tree0123534dad29b3c56d3b6d88c55f8cdc4d4b7698 /blog.node5.net
parentddcc24426fbc870d1017d1cf2cf7636936845d18 (diff)
Comment section ascii table
Diffstat (limited to 'blog.node5.net')
-rw-r--r--blog.node5.net/templates/base.html29
1 files changed, 3 insertions, 26 deletions
diff --git a/blog.node5.net/templates/base.html b/blog.node5.net/templates/base.html
index 2fa0b44..13012ea 100644
--- a/blog.node5.net/templates/base.html
+++ b/blog.node5.net/templates/base.html
@@ -48,32 +48,9 @@
         <input type="submit" value="Post comment" /> <small>(Will await approval before becoming public)</small>
     </form>
     <br>
-    {% if comments and comments|length > 0 %}
-    <h3>
-        ID <span class="dark-grey">|</span>
-        Nickname <span class="dark-grey">|</span>
-        <span title="URL of the website the commenter claims to be from">Visitor website URL</span><span class="dark-grey">|</span>
-        Means of contact <span class="dark-grey">|</span>
-        Created at
-    </h3>
-
-    {% for comment in comments %}
-    <ul class="entries">
-        <li>
-            <span class="grey">
-                {{ comment.id }} <span class="dark-grey">|</span>
-                {% if comment.nickname %}<span {% if comment.nickname == 'user@node5.net' %}class="main-color glow"{% endif %} title="Nickname">{{ comment.nickname }}</span> <span class="dark-grey">|</span>{% endif %}
-                {% if comment.visitor_url %}<a title="Visitor url" href="{{comment.visitor_url}}">{{ comment.visitor_url }}</a> <span class="dark-grey">|</span>{% endif %}
-                {% if comment.contact %}<span title="Means of contact">{{ comment.contact  }}</span> <span class="dark-grey">|</span>{% endif %}
-                {{ comment.created_at }}
-            </span><br>
-            {{ comment.comment }}
-            <br><br>
-        </li>
-    </ul>
-
-    {% endfor %}
-    {% endif %}
+    {% if comments and comments|length > 0 %}<pre><code>
+{{ comments }}
+    </code></pre>{% endif %}
 
 </div>
 <div id="footer">