Blog: Layout adjustments

This commit is contained in:
2018-09-16 03:06:08 +02:00
parent 0f1088702d
commit 88f936772d
2 changed files with 18 additions and 24 deletions

View File

@@ -28,17 +28,15 @@ meta(name="twitter:image", content="{% if main_project.picture_header %}{{ main_
| {% block body %}
.container-fluid.dashboard-container.imgs-fluid
.row
.col-md-8
.col-md-9.col-xl-10
section.blog
ul.list-unstyled
| {% if latest_posts %}
| {% for node in latest_posts %}
| {{ render_blog_post(node) }}
| {% endfor %}
| {% else %}
li
| No blog entries... yet!
| {% endif %}
| {% if latest_posts %}
| {% for node in latest_posts %}
| {{ render_blog_post(node) }}
| {% endfor %}
| {% else %}
| No blog entries... yet!
| {% endif %}
.d-block.text-center
a.d-inline-block.p-3.text-muted(href="{{ url_for('main.main_blog') }}")
@@ -52,7 +50,7 @@ meta(name="twitter:image", content="{% if main_project.picture_header %}{{ main_
i.pi-rss
| RSS Feed
.col-md-4
.col-md-3.col-xl-2
.dashboard-sidebar
section.pt-3
h6.title-underline In Production

View File

@@ -39,16 +39,12 @@ include ../../../../../../pillar/src/templates/mixins/components
| {% endif %}
| {% endif %}
.container
.row
.col-md-9.mx-auto
.node-details-description.mx-auto.py-5
| {{ node.properties | markdowned('content') }}
.item-content.pt-4
| {{ node.properties | markdowned('content') }}
hr.my-4
hr.my-4
#comments-embed.d-flex.justify-content-center.mx-auto
#comments-embed.d-flex.justify-content-center.mx-auto
| {% endmacro %}
//- ******************************************************* -//
@@ -108,11 +104,11 @@ a.card.asset.card-image-fade.pr-0.mx-0.mb-4(
| {% endif %}
| {% endfor %}
| {% if more_posts_available %}
a.d-block.pb-4(href="{{ project.blog_archive_url }}")
| {{posts_meta.total - posts|length}} more blog posts over here
i.pi-angle-right
| {% endif %}
| {% if more_posts_available %}
a.d-block.pb-4.text-center(href="{{ project.blog_archive_url }}")
| {{posts_meta.total - posts|length}} more blog posts over here
i.pi-angle-right
| {% endif %}
| {% else %}