Link comment timestamps. Closes #137

This commit is contained in:
spikecodes 2021-02-25 21:53:27 -08:00
parent 1de01d7283
commit 2bddc952cb
No known key found for this signature in database
GPG Key ID: 004CECFF9B463BCB

View File

@ -14,7 +14,7 @@
{% if author.flair.flair_parts.len() > 0 %} {% if author.flair.flair_parts.len() > 0 %}
<small class="author_flair">{% call utils::render_flair(author.flair.flair_parts) %}</small> <small class="author_flair">{% call utils::render_flair(author.flair.flair_parts) %}</small>
{% endif %} {% endif %}
<span class="created" title="{{ created }}">{{ rel_time }}</span> <a href="{{ post_link }}{{ id }}/?context=3" class="created" title="{{ created }}">{{ rel_time }}</a>
{% if edited.0 != "".to_string() %}<span class="edited" title="{{ edited.1 }}">edited {{ edited.0 }}</span>{% endif %} {% if edited.0 != "".to_string() %}<span class="edited" title="{{ edited.1 }}">edited {{ edited.0 }}</span>{% endif %}
</summary> </summary>
<div class="comment_body {% if highlighted %}highlighted{% endif %}">{{ body }}</div> <div class="comment_body {% if highlighted %}highlighted{% endif %}">{{ body }}</div>