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,15 +28,13 @@ 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 %}
@@ -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,11 +39,7 @@ include ../../../../../../pillar/src/templates/mixins/components
| {% endif %}
| {% endif %}
.container
.row
.col-md-9.mx-auto
.item-content.pt-4
.node-details-description.mx-auto.py-5
| {{ node.properties | markdowned('content') }}
hr.my-4
@@ -109,7 +105,7 @@ a.card.asset.card-image-fade.pr-0.mx-0.mb-4(
| {% endfor %}
| {% if more_posts_available %}
a.d-block.pb-4(href="{{ project.blog_archive_url }}")
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 %}