Fixes cache translation

This commit is contained in:
Mouse Reeve 2022-02-17 18:59:35 -08:00
parent 9eb798e932
commit 98736925f7

View file

@ -3,8 +3,9 @@
{% load cache %}
{% spaceless %}
{% get_current_language as LANGUAGE_CODE %}
{# 6 month cache #}
{% cache 15552000 titleby book.id %}
{% cache 15552000 titleby LANGUAGE_CODE book.id %}
{% if book.authors.exists %}
{% blocktrans trimmed with path=book.local_path title=book|book_title %}