Blog: fixes and tweaks

This commit is contained in:
2018-09-15 21:32:54 +02:00
parent f8d992400e
commit 88c0ef0e7c
4 changed files with 8 additions and 8 deletions

View File

@@ -3,9 +3,9 @@
| {% block body %}
.container
.pt-4
h2.text-uppercase.font-weight-bold
| Blog Archive
.pt-5.pb-2
h2.text-uppercase.font-weight-bold.text-center
| {{ project.name }} Blog Archive
| {{ blogmacros.render_archive(project, posts, posts_meta) }}
| {% endblock body %}

View File

@@ -11,11 +11,7 @@
| {% endblock navigation_tabs %}
| {% block body %}
| {% if node %}
| {{ blogmacros.render_blog_post(node, project=project) }}
| {% else %}
| {{ blogmacros.render_blog_index(project, posts, can_create_blog_posts, api, more_posts_available, posts_meta, pages=pages) }}
| {% endif %}
| {% endblock %}
| {% block footer_scripts %}