mirror of
https://github.com/redlib-org/redlib.git
synced 2025-04-03 04:57:38 +03:00
feat(post): add archive.is link for link posts (#165)
This commit is contained in:
parent
7a0ea1fbd3
commit
408ebe6ef1
1 changed files with 4 additions and 0 deletions
|
@ -175,6 +175,10 @@
|
|||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if post.post_type == "link" %}
|
||||
<li class="desktop_item"><a target="_blank" href="https://archive.is/latest/{{ post.media.url }}">archive.is</a></li>
|
||||
<li class="mobile_item"><a target="_blank" href="https://archive.is/latest/{{ post.media.url }}">archive</a></li>
|
||||
{% endif %}
|
||||
{% call external_reddit_link(post.permalink) %}
|
||||
|
||||
{% if post.media.download_name != "" %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue