diff --git a/blog/templates/blog/blog_index_page.html b/blog/templates/blog/blog_index_page.html new file mode 100644 index 0000000..bb6b843 --- /dev/null +++ b/blog/templates/blog/blog_index_page.html @@ -0,0 +1,18 @@ +{% extends "base.html" %} + +{% load wagtailcore_tags %} + +{% block body_class %}template-blogindexpage{% endblock %} + +{% block content %} +

{{ page.title }}

+ +
{{ page.intro|richtext }}
+ + {% for post in page.get_children %} +

{{ post.title }}

+ {{ post.specific.intro }} + {{ post.specific.body|richtext }} + {% endfor %} + +{% endblock %} \ No newline at end of file diff --git a/blog/templates/blog/blog_page.html b/blog/templates/blog/blog_page.html new file mode 100644 index 0000000..bf7da56 --- /dev/null +++ b/blog/templates/blog/blog_page.html @@ -0,0 +1,17 @@ +{% extends "base.html" %} + +{% load wagtailcore_tags %} + +{% block body_class %}template-blogpage{% endblock %} + +{% block content %} +

{{ page.title }}

+

{{ page.date }}

+ +
{{ page.intro }}
+ + {{ page.body|richtext }} + +

Return to blog

+ +{% endblock %} \ No newline at end of file diff --git a/veterina/settings/base.py b/veterina/settings/base.py index 3e0d625..d8e4b06 100644 --- a/veterina/settings/base.py +++ b/veterina/settings/base.py @@ -124,7 +124,7 @@ AUTH_PASSWORD_VALIDATORS = [ LANGUAGE_CODE = 'en-us' -TIME_ZONE = 'UTC' +TIME_ZONE = 'Europe/Prague' USE_I18N = True