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