mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-25 11:01:12 +00:00
Merge pull request #1953 from bookwyrm-social/cache-translation
Fixes cache translation
This commit is contained in:
commit
731ab88604
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