From d055f8ee780cb5586e4761311806573002819593 Mon Sep 17 00:00:00 2001 From: RemiZOffAlex Date: Sat, 8 Feb 2020 20:35:14 +0300 Subject: [PATCH] Update page --- myapp/ns_page/templates/guest/pages.html | 25 +----------------------- myapp/ns_page/templates/user/pages.html | 25 +----------------------- 2 files changed, 2 insertions(+), 48 deletions(-) diff --git a/myapp/ns_page/templates/guest/pages.html b/myapp/ns_page/templates/guest/pages.html index 68f66b2..59fb4c1 100644 --- a/myapp/ns_page/templates/guest/pages.html +++ b/myapp/ns_page/templates/guest/pages.html @@ -1,6 +1,5 @@ {% extends "skeleton.html" %} {% block content %} -{% raw %}

Статьи


@@ -13,34 +12,12 @@ -
-
-{{ page.title }} - -
-
- - {{ tag.name }}  - -
-
- -
-
- {{ page.user.name }}  -Создано: {{ page.created }}  -Обновлено: {{ page.updated }} -
-
- -
-
+{% include 'inc/pages.html' %} -{% endraw %} {% endblock %} {% block script %} diff --git a/myapp/ns_page/templates/user/pages.html b/myapp/ns_page/templates/user/pages.html index f4dc917..d96d959 100644 --- a/myapp/ns_page/templates/user/pages.html +++ b/myapp/ns_page/templates/user/pages.html @@ -1,6 +1,5 @@ {% extends "user/skeleton.html" %} {% block content %} -{% raw %}

@@ -19,34 +18,12 @@
-
-
-{{ page.title }} - -
-
- - {{ tag.name }}  - -
-
- -
-
- {{ page.user.name }}  -Создано: {{ page.created }}  -Обновлено: {{ page.updated }} -
-
- -
-
+{% include 'inc/pages.html' %} -{% endraw %} {% endblock %} {% block script %}