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() }}', '{{ self.page_title() }}',
'{{ page_header_text }}', '{{ page_header_text }}',
"{{ url_for('static', filename='assets/img/backgrounds/background_agent327_04.jpg')}}")( "{{ url_for('static', filename='assets/img/backgrounds/background_agent327_04.jpg')}}")(
class="jumbotron-overlay") class="jumbotron-overlay",
style="background-position: center top")
.container .container
+group('Modeling', 'modeling') +group('Modeling', 'modeling')

View File

@@ -1,6 +1,8 @@
| {% extends 'layout.html' %} | {% extends 'layout.html' %}
include ../../../../pillar/src/templates/mixins/components include ../../../../pillar/src/templates/mixins/components
| {% set title = 'landing' %}
| {% import 'projects/_macros.html' as projectmacros %} | {% import 'projects/_macros.html' as projectmacros %}
| {% from '_macros/_asset_list_item.html' import asset_list_item %} | {% 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 section.py-5
h2.pb-3.text-center Gallery h2.pb-3.text-center Gallery
.gallery .gallery.mx-auto
| {% for n in activity_stream %} | {% for n in activity_stream %}
| {% if n.node_type not in ['comment', 'post'] and n.picture %} | {% if n.node_type not in ['comment', 'post'] and n.picture %}
.thumbnail.expand-image-links .thumbnail.expand-image-links

View File

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