From da54ff37e69c409bbf1c974bbc29cafca760d5f5 Mon Sep 17 00:00:00 2001 From: Tibor Leupold Date: Fri, 26 Jul 2024 16:23:02 -0700 Subject: [PATCH] Remove unused context variable from block The `heading.html` template does not use a `size` variable anymore. Thus, it is now removed from the context to avoid confusion. --- lpld/core/blocks.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/lpld/core/blocks.py b/lpld/core/blocks.py index f43ef45..5871c72 100644 --- a/lpld/core/blocks.py +++ b/lpld/core/blocks.py @@ -15,7 +15,6 @@ class Meta: def get_context(self, value, parent_context=None): return { "level": 2, - "size": "md", "children": value.get("text"), } @@ -32,7 +31,6 @@ class Meta: def get_context(self, value, parent_context=None): return { "level": 3, - "size": "sm", "children": value.get("text"), }