Class names and minor blog style tweak

This commit is contained in:
Pablo Vazquez 2018-09-14 20:30:58 +02:00
parent 11f44560bb
commit 8fdd54eaad
2 changed files with 10 additions and 5 deletions

View File

@ -11,8 +11,8 @@ include ../../../../../../pillar/src/templates/mixins/components
"{{ node.picture.thumbnail('h', api=api) }}",
"{{ node.url }}")(class="row")
| {% else %}
.pt-3.text-center.text-muted
h2
.pt-5.text-center.text-muted
h2.pb-2
a.text-muted(href="{{ node.url }}")
| {{ node.name }}
ul.d-flex.list-unstyled.justify-content-center
@ -46,6 +46,11 @@ include ../../../../../../pillar/src/templates/mixins/components
| {{ node.properties | markdowned('content') }}
hr.my-4
.mx-auto
#comments-embed
.comments-list-loading
i.pi-spin
| {% endmacro %}
//- ******************************************************* -//
@ -118,7 +123,7 @@ include ../../../../../../pillar/src/templates/mixins/components
//- Macro for rendering the navigation buttons for prev/next pages -//
| {% macro render_archive_pagination(project) %}
.blog-archive-navigation
.blog-archive-navigation.mb-4
| {% if project.blog_archive_prev %}
a.archive-nav-button(
href="{{ project.blog_archive_prev }}", rel="prev")

View File

@ -1,6 +1,6 @@
| {% extends 'layout.html' %}
| {% from '_macros/_add_new_menu.html' import add_new_menu %}
| {% import 'projects/_macros.html' as projectmacros %}
| {% from 'projects/_macros.html' import render_secondary_navigation %}
include ../../../../pillar/src/templates/mixins/components
@ -87,7 +87,7 @@ link(href="{{ url_for('static_cloud', filename='assets/css/project-main.css') }}
| {% endblock %}
| {% block navigation_tabs %}
| {{ projectmacros.render_secondary_navigation(project, navigation_links, title) }}
| {{ render_secondary_navigation(project, navigation_links, title) }}
| {% endblock navigation_tabs %}
| {% block body %}