mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-26 10:00:33 +00:00
Fixes cache translation
This commit is contained in:
parent
9eb798e932
commit
98736925f7
1 changed files with 2 additions and 1 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Reference in a new issue