Class names and minor blog style tweak
This commit is contained in:
@@ -11,8 +11,8 @@ include ../../../../../../pillar/src/templates/mixins/components
|
|||||||
"{{ node.picture.thumbnail('h', api=api) }}",
|
"{{ node.picture.thumbnail('h', api=api) }}",
|
||||||
"{{ node.url }}")(class="row")
|
"{{ node.url }}")(class="row")
|
||||||
| {% else %}
|
| {% else %}
|
||||||
.pt-3.text-center.text-muted
|
.pt-5.text-center.text-muted
|
||||||
h2
|
h2.pb-2
|
||||||
a.text-muted(href="{{ node.url }}")
|
a.text-muted(href="{{ node.url }}")
|
||||||
| {{ node.name }}
|
| {{ node.name }}
|
||||||
ul.d-flex.list-unstyled.justify-content-center
|
ul.d-flex.list-unstyled.justify-content-center
|
||||||
@@ -46,6 +46,11 @@ include ../../../../../../pillar/src/templates/mixins/components
|
|||||||
| {{ node.properties | markdowned('content') }}
|
| {{ node.properties | markdowned('content') }}
|
||||||
|
|
||||||
hr.my-4
|
hr.my-4
|
||||||
|
|
||||||
|
.mx-auto
|
||||||
|
#comments-embed
|
||||||
|
.comments-list-loading
|
||||||
|
i.pi-spin
|
||||||
| {% endmacro %}
|
| {% endmacro %}
|
||||||
|
|
||||||
//- ******************************************************* -//
|
//- ******************************************************* -//
|
||||||
@@ -118,7 +123,7 @@ include ../../../../../../pillar/src/templates/mixins/components
|
|||||||
|
|
||||||
//- Macro for rendering the navigation buttons for prev/next pages -//
|
//- Macro for rendering the navigation buttons for prev/next pages -//
|
||||||
| {% macro render_archive_pagination(project) %}
|
| {% macro render_archive_pagination(project) %}
|
||||||
.blog-archive-navigation
|
.blog-archive-navigation.mb-4
|
||||||
| {% if project.blog_archive_prev %}
|
| {% if project.blog_archive_prev %}
|
||||||
a.archive-nav-button(
|
a.archive-nav-button(
|
||||||
href="{{ project.blog_archive_prev }}", rel="prev")
|
href="{{ project.blog_archive_prev }}", rel="prev")
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
| {% extends 'layout.html' %}
|
| {% extends 'layout.html' %}
|
||||||
| {% from '_macros/_add_new_menu.html' import add_new_menu %}
|
| {% 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
|
include ../../../../pillar/src/templates/mixins/components
|
||||||
|
|
||||||
@@ -87,7 +87,7 @@ link(href="{{ url_for('static_cloud', filename='assets/css/project-main.css') }}
|
|||||||
| {% endblock %}
|
| {% endblock %}
|
||||||
|
|
||||||
| {% block navigation_tabs %}
|
| {% block navigation_tabs %}
|
||||||
| {{ projectmacros.render_secondary_navigation(project, navigation_links, title) }}
|
| {{ render_secondary_navigation(project, navigation_links, title) }}
|
||||||
| {% endblock navigation_tabs %}
|
| {% endblock navigation_tabs %}
|
||||||
|
|
||||||
| {% block body %}
|
| {% block body %}
|
||||||
|
Reference in New Issue
Block a user