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

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