diff --git a/circle/dashboard/templates/base.html b/circle/dashboard/templates/base.html new file mode 100644 index 0000000..d95e4ba --- /dev/null +++ b/circle/dashboard/templates/base.html @@ -0,0 +1,43 @@ +{% load i18n %} + + + + + + + + {% block title %}{% block title-page %}{% endblock %} | {% block title-site %}Circle{% endblock %}{% endblock %} + + + + + + + + + + + + + + + + + + +
+{% block content %} +

Please override "content" block.

+{% endblock %} +
+ +
+ + +{% block extra_js %} +{% endblock %} + diff --git a/circle/templates/404.html b/circle/templates/404.html index 61d6d9f..6f57b74 100644 --- a/circle/templates/404.html +++ b/circle/templates/404.html @@ -1,5 +1,5 @@ -{% load i18n %} {% extends "base.html" %} +{% load i18n %} {% block title %}{% trans "Page not found" %}{% endblock %} diff --git a/circle/templates/500.html b/circle/templates/500.html index 31fb0c3..93a17c1 100644 --- a/circle/templates/500.html +++ b/circle/templates/500.html @@ -1,5 +1,5 @@ -{% load i18n %} {% extends "base.html" %} +{% load i18n %} {% block title %}HTTP 500{% endblock %}