Fixes bad cache on status shelve buttons

This commit is contained in:
Mouse Reeve 2022-01-30 06:56:15 -08:00
parent 8fc23ba184
commit 3c2aa72424

View file

@ -6,7 +6,6 @@
{% load cache %}
{% if not hide_book %}
{% cache 259200 generated_status_book status.id %}
{% with book=status.book|default:status.mention_books.first %}
<div class="columns is-mobile is-gapless">
<a class="column is-cover is-narrow" href="{{ book.local_path }}">
@ -26,7 +25,6 @@
</div>
</div>
{% endwith %}
{% endcache %}
{% endif %}
{% endspaceless %}