feat(post): add archive.is link for link posts (#165)

This commit is contained in:
Matthew Esposito 2024-09-05 12:00:09 -04:00 committed by GitHub
parent 7a0ea1fbd3
commit 408ebe6ef1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 != "" %}