Skip to content

Commit

Permalink
Link comment timestamps. Closes #137
Browse files Browse the repository at this point in the history
  • Loading branch information
spikecodes committed Feb 26, 2021
1 parent 1de01d7 commit 2bddc95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/comment.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
{% if author.flair.flair_parts.len() > 0 %}
<small class="author_flair">{% call utils::render_flair(author.flair.flair_parts) %}</small>
{% 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 %}
</summary>
<div class="comment_body {% if highlighted %}highlighted{% endif %}">{{ body }}</div>
Expand Down

0 comments on commit 2bddc95

Please sign in to comment.