Blog: fixes and tweaks
This commit is contained in:
@@ -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 %}
|
||||
|
@@ -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 %}
|
||||
|
Reference in New Issue
Block a user