Blog: Layout adjustments
This commit is contained in:
@@ -28,17 +28,15 @@ meta(name="twitter:image", content="{% if main_project.picture_header %}{{ main_
|
|||||||
| {% block body %}
|
| {% block body %}
|
||||||
.container-fluid.dashboard-container.imgs-fluid
|
.container-fluid.dashboard-container.imgs-fluid
|
||||||
.row
|
.row
|
||||||
.col-md-8
|
.col-md-9.col-xl-10
|
||||||
section.blog
|
section.blog
|
||||||
ul.list-unstyled
|
| {% if latest_posts %}
|
||||||
| {% if latest_posts %}
|
| {% for node in latest_posts %}
|
||||||
| {% for node in latest_posts %}
|
| {{ render_blog_post(node) }}
|
||||||
| {{ render_blog_post(node) }}
|
| {% endfor %}
|
||||||
| {% endfor %}
|
| {% else %}
|
||||||
| {% else %}
|
| No blog entries... yet!
|
||||||
li
|
| {% endif %}
|
||||||
| No blog entries... yet!
|
|
||||||
| {% endif %}
|
|
||||||
|
|
||||||
.d-block.text-center
|
.d-block.text-center
|
||||||
a.d-inline-block.p-3.text-muted(href="{{ url_for('main.main_blog') }}")
|
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
|
i.pi-rss
|
||||||
| RSS Feed
|
| RSS Feed
|
||||||
|
|
||||||
.col-md-4
|
.col-md-3.col-xl-2
|
||||||
.dashboard-sidebar
|
.dashboard-sidebar
|
||||||
section.pt-3
|
section.pt-3
|
||||||
h6.title-underline In Production
|
h6.title-underline In Production
|
||||||
|
@@ -39,16 +39,12 @@ include ../../../../../../pillar/src/templates/mixins/components
|
|||||||
| {% endif %}
|
| {% endif %}
|
||||||
| {% endif %}
|
| {% endif %}
|
||||||
|
|
||||||
.container
|
.node-details-description.mx-auto.py-5
|
||||||
.row
|
| {{ node.properties | markdowned('content') }}
|
||||||
.col-md-9.mx-auto
|
|
||||||
|
|
||||||
.item-content.pt-4
|
hr.my-4
|
||||||
| {{ node.properties | markdowned('content') }}
|
|
||||||
|
|
||||||
hr.my-4
|
#comments-embed.d-flex.justify-content-center.mx-auto
|
||||||
|
|
||||||
#comments-embed.d-flex.justify-content-center.mx-auto
|
|
||||||
| {% endmacro %}
|
| {% endmacro %}
|
||||||
|
|
||||||
//- ******************************************************* -//
|
//- ******************************************************* -//
|
||||||
@@ -108,11 +104,11 @@ a.card.asset.card-image-fade.pr-0.mx-0.mb-4(
|
|||||||
| {% endif %}
|
| {% endif %}
|
||||||
| {% endfor %}
|
| {% endfor %}
|
||||||
|
|
||||||
| {% if more_posts_available %}
|
| {% 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
|
| {{posts_meta.total - posts|length}} more blog posts over here
|
||||||
i.pi-angle-right
|
i.pi-angle-right
|
||||||
| {% endif %}
|
| {% endif %}
|
||||||
|
|
||||||
| {% else %}
|
| {% else %}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user