Blog minor fixes and tweaks
This commit is contained in:
@@ -9,7 +9,7 @@ include ../../../../../../pillar/src/templates/mixins/components
|
|||||||
"{{ node.name }}",
|
"{{ node.name }}",
|
||||||
"{{ node._created | pretty_date }}",
|
"{{ node._created | pretty_date }}",
|
||||||
"{{ node.picture.thumbnail('h', api=api) }}",
|
"{{ node.picture.thumbnail('h', api=api) }}",
|
||||||
"{{ node.url }}")(class="row")
|
"{{ node.url }}")
|
||||||
| {% else %}
|
| {% else %}
|
||||||
.pt-5.text-center.text-muted
|
.pt-5.text-center.text-muted
|
||||||
h2.pb-2
|
h2.pb-2
|
||||||
@@ -39,18 +39,19 @@ include ../../../../../../pillar/src/templates/mixins/components
|
|||||||
| {% endif %}
|
| {% endif %}
|
||||||
| {% endif %}
|
| {% endif %}
|
||||||
|
|
||||||
.row
|
.container
|
||||||
.col-md-9.mx-auto
|
.row
|
||||||
|
.col-md-9.mx-auto
|
||||||
|
|
||||||
.item-content.pt-4
|
.item-content.pt-4
|
||||||
| {{ node.properties | markdowned('content') }}
|
| {{ node.properties | markdowned('content') }}
|
||||||
|
|
||||||
hr.my-4
|
hr.my-4
|
||||||
|
|
||||||
.mx-auto
|
.mx-auto
|
||||||
#comments-embed
|
#comments-embed
|
||||||
.comments-list-loading
|
.comments-list-loading
|
||||||
i.pi-spin
|
i.pi-spin
|
||||||
| {% endmacro %}
|
| {% endmacro %}
|
||||||
|
|
||||||
//- ******************************************************* -//
|
//- ******************************************************* -//
|
||||||
@@ -93,7 +94,7 @@ a.card.asset.card-image-fade.pr-0.mx-0.mb-4(
|
|||||||
| {{ render_blog_post(posts[0], project=project, pages=pages) }}
|
| {{ render_blog_post(posts[0], project=project, pages=pages) }}
|
||||||
|
|
||||||
.container
|
.container
|
||||||
h5.text-muted.text-center.py-3 Blasts from the past
|
h5.text-muted.text-center.py-3 More from {{ project.name }} blog
|
||||||
+card-deck(class="px-2 justify-content-center")
|
+card-deck(class="px-2 justify-content-center")
|
||||||
| {% for node in posts[1:] %}
|
| {% for node in posts[1:] %}
|
||||||
| {{ render_blog_list_item(node) }}
|
| {{ render_blog_list_item(node) }}
|
||||||
|
Reference in New Issue
Block a user