Fix jumbotron in index collection

This commit is contained in:
2018-09-19 15:50:03 +02:00
parent 05ff27a12d
commit 748190d15b
3 changed files with 15 additions and 9 deletions

View File

@@ -30,7 +30,8 @@ script.
'{{ self.page_title() }}',
'{{ page_header_text }}',
"{{ url_for('static', filename='assets/img/backgrounds/background_agent327_04.jpg')}}")(
class="jumbotron-overlay")
class="jumbotron-overlay",
style="background-position: center top")
.container
+group('Modeling', 'modeling')

View File

@@ -1,6 +1,8 @@
| {% extends 'layout.html' %}
include ../../../../pillar/src/templates/mixins/components
| {% set title = 'landing' %}
| {% import 'projects/_macros.html' as projectmacros %}
| {% from '_macros/_asset_list_item.html' import asset_list_item %}
@@ -100,7 +102,7 @@ link(href="{{ url_for('static_cloud', filename='assets/css/project-main.css') }}
section.py-5
h2.pb-3.text-center Gallery
.gallery
.gallery.mx-auto
| {% for n in activity_stream %}
| {% if n.node_type not in ['comment', 'post'] and n.picture %}
.thumbnail.expand-image-links

View File

@@ -47,6 +47,7 @@ meta(name="twitter:image", content="{{ page_header_image }}")
| {% block body %}
| {% if title in ['film', 'open-projects'] %}
| {# Specify the URL of projects in production. These are hidden from the listing below. #}
| {% set projects_in_production = ['spring'] %}
- var jumbotron_title = 'SPRING';
@@ -57,13 +58,15 @@ meta(name="twitter:image", content="{{ page_header_image }}")
"{{ url_for('static', filename='assets/img/backgrounds/background_spring_01.jpg')}}")(
class="jumbotron-overlay")
a.btn.btn-primary.mt-4.px-4(
href="{{ url_for('projects.view', project_url='spring') }}") Browse the Project
a.btn.btn-link-light.mt-4(
style="color: white",
href="{{ url_for('main.project_blog', project_url='spring') }}")
| Read the Blog
i.pi-angle-right.px-1
.d-block
a.btn.btn-primary.mt-4.px-4(
href="{{ url_for('projects.view', project_url='spring') }}") Browse the Project
a.btn.btn-link-light.mt-4(
style="color: white",
href="{{ url_for('main.project_blog', project_url='spring') }}")
| Read the Blog
i.pi-angle-right.px-1
| {% endif %}
.container.pb-5
.row