forked from tanner/qotnews
feat: Display relative time on non-JS article info line
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
This commit is contained in:
@@ -73,7 +73,8 @@
|
|||||||
<div class="info">
|
<div class="info">
|
||||||
{{ story.score }} points
|
{{ story.score }} points
|
||||||
by <a href="{{ story.author_link }}">{{ story.author }}</a>
|
by <a href="{{ story.author_link }}">{{ story.author }}</a>
|
||||||
on <a href="{{ story.link }}">{{ story.source }}</a> |
|
​ {{ story.date | fromnow }}
|
||||||
|
​ on <a href="{{ story.link }}">{{ story.source }}</a> | ​
|
||||||
<a href="/{{ story.id }}/c">
|
<a href="/{{ story.id }}/c">
|
||||||
{{ story.num_comments }} comment{{ 's' if story.num_comments != 1 }}
|
{{ story.num_comments }} comment{{ 's' if story.num_comments != 1 }}
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
Reference in New Issue
Block a user