Revert "fix: stop caching webmention images"

This reverts commit 30ef5ab1ec.
This commit is contained in:
Cory Dransfeldt 2023-10-29 17:33:38 -07:00
parent 6f0e975e40
commit 20ee0e1fbd
2 changed files with 4 additions and 4 deletions

View file

@ -4,13 +4,13 @@
{% for mention in mentions['in-reply-to'] %} {% for mention in mentions['in-reply-to'] %}
<div class="border-bottom flex flex-row items-center border-gray-100 pb-4 w-full"> <div class="border-bottom flex flex-row items-center border-gray-100 pb-4 w-full">
<div class="group flex flex-row space-between items-center"> <div class="group flex flex-row space-between items-center">
<a href="{{mention.url}}"> <a href={{mention.url}}>
<div class="bg-gray-900 dark:bg-white h-14 w-14 border-4 border-white dark:border-gray-200 transition-all ease-in-out duration-300 group-hover:border-blue-800 dark:group-hover:border-blue-200 rounded-full overflow-hidden"> <div class="bg-gray-900 dark:bg-white h-14 w-14 border-4 border-white dark:border-gray-200 transition-all ease-in-out duration-300 group-hover:border-blue-800 dark:group-hover:border-blue-200 rounded-full overflow-hidden">
<img src="{{ mention.author.photo }}" alt="{{ mention.author.name }}" class="w-full" /> {% image mention.author.photo, mention.author.name %}
</div> </div>
</a> </a>
<div class="ml-3"> <div class="ml-3">
<a class="text-gray-700 dark:text-gray-200" href="{{mention.url}}"> <a class="text-gray-700 dark:text-gray-200" href={{mention.url}}>
<p class="text-sm group-hover:text-blue-800 dark:group-hover:text-blue-200">{{ mention.content.text }}</p> <p class="text-sm group-hover:text-blue-800 dark:group-hover:text-blue-200">{{ mention.content.text }}</p>
<p class="mt-1 text-xs group-hover:text-blue-800 dark:group-hover:text-blue-200">{{ mention.published | isoDateOnly }}</p> <p class="mt-1 text-xs group-hover:text-blue-800 dark:group-hover:text-blue-200">{{ mention.published | isoDateOnly }}</p>
</a> </a>

View file

@ -13,7 +13,7 @@
<li class="-ml-3 inline"> <li class="-ml-3 inline">
<a href={{mention.url}}> <a href={{mention.url}}>
<div class="bg-gray-900 dark:bg-white h-14 w-14 border-4 border-white dark:border-gray-900 transition-all ease-in-out duration-300 hover:border-blue-800 dark:hover:border-blue-200 rounded-full overflow-hidden"> <div class="bg-gray-900 dark:bg-white h-14 w-14 border-4 border-white dark:border-gray-900 transition-all ease-in-out duration-300 hover:border-blue-800 dark:hover:border-blue-200 rounded-full overflow-hidden">
<img src="{{ mention.author.photo }}" alt="{{ mention.author.name }}" class="w-full" /> {% image mention.author.photo, mention.author.name %}
</div> </div>
</a> </a>
</li> </li>