feat(post): add archive.is link for link posts (#165)
This commit is contained in:
parent
7a0ea1fbd3
commit
408ebe6ef1
@ -175,6 +175,10 @@
|
|||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% 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) %}
|
{% call external_reddit_link(post.permalink) %}
|
||||||
|
|
||||||
{% if post.media.download_name != "" %}
|
{% if post.media.download_name != "" %}
|
||||||
|
Loading…
Reference in New Issue
Block a user