|
@@ -73,12 +73,18 @@
|
|
<div class="col-md-12 feature-2">
|
|
<div class="col-md-12 feature-2">
|
|
{% if page.featured_section_2 %}
|
|
{% if page.featured_section_2 %}
|
|
<h2>{{ page.featured_section_2_title }}</h2>
|
|
<h2>{{ page.featured_section_2_title }}</h2>
|
|
- <div class="featured-children row">
|
|
+ <div class="featured-children row feature-2-row">
|
|
{% for childpage in page.featured_section_2.specific.children|slice:"3" %}
|
|
{% for childpage in page.featured_section_2.specific.children|slice:"3" %}
|
|
- <li class="col-md-4">
|
|
+ <li class="col-md-4 feature-2-item">
|
|
- {% image childpage.image height-210 %}
|
|
+ <a href="{{childpage.url}}">
|
|
- <h3><a href="{{childpage.url}}">{{childpage.title}}</a></h3>
|
|
+ <figure>
|
|
- <p>{{ childpage.introduction|truncatewords:15 }}</p>
|
|
+ {% image childpage.image height-210 %}
|
|
|
|
+ </figure>
|
|
|
|
+ </a>
|
|
|
|
+ <div class="feature-2-text">
|
|
|
|
+ <h3><a href="{{childpage.url}}">{{childpage.title}}</a></h3>
|
|
|
|
+ <p>{{ childpage.introduction|truncatewords:15 }}</p>
|
|
|
|
+ </div>
|
|
</li>
|
|
</li>
|
|
{% endfor %}
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
@@ -96,7 +102,9 @@
|
|
{% for childpage in page.featured_section_3.specific.children|slice:"6" %}
|
|
{% for childpage in page.featured_section_3.specific.children|slice:"6" %}
|
|
<li class="col-md-4">
|
|
<li class="col-md-4">
|
|
<a href="{{childpage.url}}">
|
|
<a href="{{childpage.url}}">
|
|
- {% image childpage.image width-380 %}
|
|
+ <figure>
|
|
|
|
+ {% image childpage.image width-380 %}
|
|
|
|
+ </figure>
|
|
<h3>{{childpage.title}}</h3>
|
|
<h3>{{childpage.title}}</h3>
|
|
</a>
|
|
</a>
|
|
</li>
|
|
</li>
|