From a8776843bda934cd1fce6bcaa2fc488642ae9b93 Mon Sep 17 00:00:00 2001
From: Mouse Reeve
Date: Thu, 20 Jan 2022 17:00:15 -0800
Subject: [PATCH] Fixes display toggle for about page superlatives
---
bookwyrm/templates/about/about.html | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/bookwyrm/templates/about/about.html b/bookwyrm/templates/about/about.html
index acc89b0e..4e533b11 100644
--- a/bookwyrm/templates/about/about.html
+++ b/bookwyrm/templates/about/about.html
@@ -12,6 +12,7 @@
{% block about_content %}
{# seven day cache #}
{% cache 604800 about_page %}
+
{% get_book_superlatives as superlatives %}
- {% if top_rated %}
+ {% if superlatives.top_rated %}
{% with book=superlatives.top_rated.default_edition rating=top_rated.rating %}