From b49a4a5d9c9cd7db6d697b71b4d40ec5354ef788 Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Tue, 25 Feb 2020 00:53:02 +0100 Subject: [PATCH] Page template inherit from base and not index --- templates/index.html | 5 ----- templates/page.html | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/templates/index.html b/templates/index.html index 4a11073..adb3741 100644 --- a/templates/index.html +++ b/templates/index.html @@ -77,11 +77,6 @@ {{name}} {% endfor %} - - {{ articles|count }} - {% if articles|count > 1 %} posts {% else %} post {% endif %} - -
diff --git a/templates/page.html b/templates/page.html index 8a54463..2fbfc59 100644 --- a/templates/page.html +++ b/templates/page.html @@ -1,4 +1,4 @@ -{% extends "index.html" %} +{% extends "base.html" %} {% block title %}{{ page.title }}{% endblock title %}