diff --git a/home/templates/home/blog_index_page.html b/home/templates/home/blog_index_page.html new file mode 100644 index 0000000..9ffb6da --- /dev/null +++ b/home/templates/home/blog_index_page.html @@ -0,0 +1,36 @@ +{% extends "base.html" %} +{% load static i18n wagtailcore_tags wagtailimages_tags %} + +{% block title %}{% trans "Blog" %}{% endblock title %} + +{% block body_class %}template-blogindex{% endblock body_class %} + +{% block content %} +

+ {% trans "Blog" %} +

+ +
+ {% for post in posts %} + + {% image post.specific.image original %} +
+
+
+ + {{ post.specific.author }} +
+
+ + {{ post.first_published_at|date:"F j, Y | H:i" }} +
+
+

{{ post.specific.title }}

+

{{ post.specific.description|truncatewords:20 }}

+
+
+ {% empty %} +

{% trans "No blog posts available." %}

+ {% endfor %} +
+{% endblock content %}