Blog: fixes and tweaks

This commit is contained in:
2018-09-15 21:32:54 +02:00
parent f8d992400e
commit 88c0ef0e7c
4 changed files with 8 additions and 8 deletions

View File

@@ -22,6 +22,7 @@
@import "../../node_modules/bootstrap/scss/nav"
@import "../../node_modules/bootstrap/scss/navbar"
@import "../../node_modules/bootstrap/scss/card"
@import "../../node_modules/bootstrap/scss/jumbotron"
@import "../../node_modules/bootstrap/scss/media"
@import "../../node_modules/bootstrap/scss/close"
@@ -34,6 +35,7 @@
@import "apps_base"
@import "components/base"
@import "components/card"
@import "components/jumbotron"
@import "components/navbar"
@import "components/dropdown"

View File

@@ -1,7 +1,9 @@
// Mainly overrides bootstrap jumbotron settings
.jumbotron
@extend .d-flex
@extend .mb-0
@extend .rounded-0
background-size: cover
border-radius: 0
margin-bottom: 0
padding-top: 10em
padding-bottom: 10em

View File

@@ -3,9 +3,9 @@
| {% block body %}
.container
.pt-4
h2.text-uppercase.font-weight-bold
| Blog Archive
.pt-5.pb-2
h2.text-uppercase.font-weight-bold.text-center
| {{ project.name }} Blog Archive
| {{ blogmacros.render_archive(project, posts, posts_meta) }}
| {% endblock body %}

View File

@@ -11,11 +11,7 @@
| {% endblock navigation_tabs %}
| {% block body %}
| {% if node %}
| {{ blogmacros.render_blog_post(node, project=project) }}
| {% else %}
| {{ blogmacros.render_blog_index(project, posts, can_create_blog_posts, api, more_posts_available, posts_meta, pages=pages) }}
| {% endif %}
| {% endblock %}
| {% block footer_scripts %}