From b5c2f35bacf8827cf9073b8d520439746bf29aa7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Ku=C5=BE=C3=ADlek?= Date: Thu, 12 Dec 2019 13:19:35 +0100 Subject: [PATCH] Broken to templates --- yadc/templates/base.html | 75 +++++++++++++++++++++++++++++++++++++++ yadc/templates/index.html | 75 ++------------------------------------- yadc/templates/post.html | 75 ++------------------------------------- 3 files changed, 81 insertions(+), 144 deletions(-) create mode 100644 yadc/templates/base.html diff --git a/yadc/templates/base.html b/yadc/templates/base.html new file mode 100644 index 0000000..c41e357 --- /dev/null +++ b/yadc/templates/base.html @@ -0,0 +1,75 @@ + + + + + + +{% assets "scss_all" %} + +{% endassets %} + + + YaDc + + +
+ + + +
+ +
+{% block content %}{% endblock %} +
+ + + + + + \ No newline at end of file diff --git a/yadc/templates/index.html b/yadc/templates/index.html index 7d4439c..e4d5c49 100644 --- a/yadc/templates/index.html +++ b/yadc/templates/index.html @@ -1,40 +1,6 @@ - - - - - - -{% assets "scss_all" %} - -{% endassets %} - +{% extends 'base.html' %} - YaDc - - -
- - - -
-
+{% block content %}
@@ -218,39 +184,4 @@
- - - - - - - \ No newline at end of file +{% endblock content %} \ No newline at end of file diff --git a/yadc/templates/post.html b/yadc/templates/post.html index e73f9a3..b2c4154 100644 --- a/yadc/templates/post.html +++ b/yadc/templates/post.html @@ -1,40 +1,6 @@ - - - - - - -{% assets "scss_all" %} - -{% endassets %} - +{% extends 'base.html' %} - YaDc - - -
- - - -
-
+{% block content %}
@@ -129,39 +95,4 @@

no tea 4 ya

-
- -
- Produced by KuxaBeast -
- - - - \ No newline at end of file +{% endblock content %} \ No newline at end of file