diff --git a/flangr/templates/base.html b/flangr/templates/base.html new file mode 100644 index 0000000..0f1d64b --- /dev/null +++ b/flangr/templates/base.html @@ -0,0 +1,6 @@ + + + Flangr + + {% block content %}{% endblock content %} + diff --git a/flangr/templates/posts/post_detail.html b/flangr/templates/posts/post_detail.html index 7e93e44..57d573c 100644 --- a/flangr/templates/posts/post_detail.html +++ b/flangr/templates/posts/post_detail.html @@ -1,4 +1,5 @@ - +{% extends "base.html" %} +{% block content %} {% if object.title %}

{{ object.title }}

{% else %} @@ -16,4 +17,4 @@ {{ form }} - +{% endblock content %} diff --git a/flangr/templates/registration/login.html b/flangr/templates/registration/login.html index e69de29..09e9ce3 100644 --- a/flangr/templates/registration/login.html +++ b/flangr/templates/registration/login.html @@ -0,0 +1,4 @@ +{% extends "base.html" %} + +{% block content %} +{% endblock content %}