display carousel caption on all breakpoints
This commit is contained in:
parent
be16c40f30
commit
ad5986c790
1 changed files with 2 additions and 2 deletions
|
@ -10,8 +10,8 @@
|
||||||
<div class="carousel-inner" role="listbox">
|
<div class="carousel-inner" role="listbox">
|
||||||
{% for sub-page in page.children|filter-sidebar %}
|
{% for sub-page in page.children|filter-sidebar %}
|
||||||
<div {% if forloop.first %}class="carousel-item active"{% else %}class="carousel-item"{% endif %}>
|
<div {% if forloop.first %}class="carousel-item active"{% else %}class="carousel-item"{% endif %}>
|
||||||
<img class="d-block img-fluid" src="{{sub-page.carousel-image}}" alt="{{sub-page.carousel-image}}">
|
<img class="d-block w-100" src="{{sub-page.carousel-image}}" alt="{{sub-page.carousel-image}}">
|
||||||
<div class="carousel-caption d-none d-md-block text-left">
|
<div class="carousel-caption d-block text-left">
|
||||||
<h1>{{sub-page.title}}</h1>
|
<h1>{{sub-page.title}}</h1>
|
||||||
<p>{{sub-page.abstract|safe}}</p>
|
<p>{{sub-page.abstract|safe}}</p>
|
||||||
<p><a class="btn btn-lg btn-primary"
|
<p><a class="btn btn-lg btn-primary"
|
||||||
|
|
Loading…
Reference in a new issue