made the banner text a link

This commit is contained in:
Oliver Marks 2017-03-04 15:23:32 +00:00
parent 9b9f3c5db5
commit 43d6a1ca62
1 changed files with 4 additions and 2 deletions

View File

@ -11,8 +11,10 @@
<img class="img-fluid" src="{{ banner.image.large.url }}" alt="{{ banner.title }}"> <img class="img-fluid" src="{{ banner.image.large.url }}" alt="{{ banner.title }}">
</picture> </picture>
<div class="carousel-caption d-none d-md-block"> <div class="carousel-caption d-none d-md-block">
<a href="{{ banner.url }}">
<h3>{{ banner.title }}</h3> <h3>{{ banner.title }}</h3>
<p>{{ banner.description |truncatewords:30}}</p> <p>{{ banner.description |truncatewords:30}}</p>
</a>
</div> </div>
</div> </div>
{% endfor %} {% endfor %}