2017-03-20 18:40:55 +01:00
|
|
|
{{ $data := index .Site.Data .Site.Language.Lang }}
|
2017-03-20 13:37:30 +01:00
|
|
|
<section class="no-padding" id="resources">
|
2017-03-16 00:00:56 +01:00
|
|
|
<div class="container-fluid">
|
|
|
|
<div class="row no-gutter">
|
2017-03-20 18:40:55 +01:00
|
|
|
{{ range $data.resources }}
|
2017-03-16 00:00:56 +01:00
|
|
|
<div class="col-lg-4 col-sm-6">
|
2017-03-20 13:37:30 +01:00
|
|
|
<a href="#resourcesModal{{ .modalID }}" class="resources-box resources-link" data-toggle="modal">
|
2017-03-20 18:40:55 +01:00
|
|
|
<img src="/img/resources/{{ .img }}" class="img-responsive" alt="">
|
2017-03-16 00:00:56 +01:00
|
|
|
{{ if and .category .title }}
|
2017-03-20 13:37:30 +01:00
|
|
|
<div class="resources-box-caption">
|
|
|
|
<div class="resources-box-caption-content">
|
2017-03-16 00:00:56 +01:00
|
|
|
{{ with .category }}
|
2017-03-20 13:37:30 +01:00
|
|
|
<div class="resource-category text-faded">
|
2017-03-16 00:00:56 +01:00
|
|
|
{{ . }}
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
{{ with .title }}
|
2017-03-20 13:37:30 +01:00
|
|
|
<div class="resource-name">
|
2017-03-16 00:00:56 +01:00
|
|
|
{{ . }}
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|