diff --git a/articles/models.py b/articles/models.py
index 1b274d5..22a97c1 100644
--- a/articles/models.py
+++ b/articles/models.py
@@ -121,18 +121,6 @@ class Article(models.Model):
filter(None, map(lambda k: k.strip().lower(), self.keywords.split(",")))
)
- @cached_property
- def get_minified_custom_css(self):
- def reducer(res, next_char):
- if len(res) == 0:
- return next_char
- if res[-1] == next_char == " ":
- return res
- return res + next_char
-
- css = self.custom_css.replace("\n", " ")
- return reduce(reducer, css, "")
-
def get_admin_url(self):
content_type = ContentType.objects.get_for_model(self.__class__)
return reverse(
diff --git a/articles/templates/articles/article_detail.html b/articles/templates/articles/article_detail.html
index 72f9fa9..9c5f076 100644
--- a/articles/templates/articles/article_detail.html
+++ b/articles/templates/articles/article_detail.html
@@ -1,8 +1,8 @@
{% extends 'articles/base.html' %}
-{% block append_header %}
+{% block append_css %}
{% endblock %}
diff --git a/articles/templates/articles/article_list.html b/articles/templates/articles/article_list.html
index 8eb3f5a..2f1d137 100644
--- a/articles/templates/articles/article_list.html
+++ b/articles/templates/articles/article_list.html
@@ -1,8 +1,8 @@
{% extends 'articles/base.html' %}
-{% block append_header %}
+{% block append_css %}