From 90545c3e2ac1bf6eef04c4863a4642a46c17e7f6 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 20 Aug 2022 11:22:50 +0100 Subject: [PATCH] Fix reading time on blog list --- website/blog/models.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/website/blog/models.py b/website/blog/models.py index 4e5072d..e446fa9 100644 --- a/website/blog/models.py +++ b/website/blog/models.py @@ -25,11 +25,8 @@ class BlogListPage(RoutablePageMixin, BaseContentPage): ] @cached_property - def reading_time(self) -> int: - """ - How does one read a list page? - """ - return 0 + def show_reading_time(self) -> bool: + return False @cached_property def table_of_contents(self) -> list[TocEntry]: