UI Pages: Only show header div if there is a picture.
This commit is contained in:
@@ -5,14 +5,14 @@ include ../../../mixins/components
|
|||||||
| {% block bodyclasses %}{% endblock %}
|
| {% block bodyclasses %}{% endblock %}
|
||||||
|
|
||||||
| {% block body %}
|
| {% block body %}
|
||||||
|
| {% if node.picture %}
|
||||||
.expand-image-links.imgs-fluid
|
.expand-image-links.imgs-fluid
|
||||||
| {% if node.picture %}
|
|
||||||
+jumbotron(
|
+jumbotron(
|
||||||
"{{ node.name }}",
|
"{{ node.name }}",
|
||||||
null,
|
null,
|
||||||
"{{ node.picture.thumbnail('h', api=api) }}",
|
"{{ node.picture.thumbnail('h', api=api) }}",
|
||||||
"{{ node.url }}")
|
"{{ node.url }}")
|
||||||
| {% endif %}
|
| {% endif %}
|
||||||
|
|
||||||
.container.pb-5
|
.container.pb-5
|
||||||
.row
|
.row
|
||||||
|
Reference in New Issue
Block a user