diff --git a/webclient/public/index.html b/webclient/public/index.html index 3e8c791..ec14c58 100644 --- a/webclient/public/index.html +++ b/webclient/public/index.html @@ -52,9 +52,17 @@

{{ story.title }}

-
- Source: {{ url }} -
+ + {% if show_comments %} + + {% else %} +
+ Source: {{ url }} +
+ {% endif %} +
{{ story.score }} points by {{ story.author }} @@ -68,9 +76,13 @@
{{ story.text | safe }}
{% elif show_comments %} {% macro render_comment(comment, level) %} -
- -
{{ comment.text | safe }}
+
+
+

+ {% if comment.author == story.author %}[OP] {% endif %}{{ comment.author or '[Deleted]' }} +

+
+
{{ (comment.text | safe) if comment.text else '

[Empty / deleted comment]

' }}
{% for reply in comment.comments %} {{ render_comment(reply, level + 1) }} {% endfor %}