mirror of
https://github.com/redlib-org/redlib.git
synced 2025-05-16 15:03:01 +00:00
Separate datetime into relative and absolute
This commit is contained in:
parent
ab102ca32c
commit
fdf60e7255
7 changed files with 36 additions and 26 deletions
|
@ -53,7 +53,7 @@
|
|||
<small class="author_flair">{% call utils::render_flair(post.author_flair.flair_parts) %}</small>
|
||||
{% endif %}
|
||||
<span class="dot">•</span>
|
||||
<span class="datetime">{{ post.time }}</span>
|
||||
<span class="created" title="{{ post.created }}">{{ post.rel_time }}</span>
|
||||
</p>
|
||||
<p class="post_title">
|
||||
{% if post.flair.flair_parts.len() > 0 %}
|
||||
|
@ -89,7 +89,7 @@
|
|||
<details class="comment_right" open>
|
||||
<summary class="comment_data">
|
||||
<a class="comment_link" href="{{ post.permalink }}">COMMENT</a>
|
||||
<span class="datetime">{{ post.time }}</span>
|
||||
<span class="created" title="{{ post.created }}">{{ post.rel_time }}</span>
|
||||
</summary>
|
||||
<p class="comment_body">{{ post.body }}</p>
|
||||
</details>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue