publiccode.si/site/layouts/partials/resources.html

33 lines
1.5 KiB
HTML
Raw Normal View History

2017-03-20 20:23:38 +01:00
{{ "<!-- RESOURCES -->" | safeHTML }}
{{ $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">
2018-06-08 18:22:10 +02:00
<h2 class="hidden">{{ i18n "navigation_links_resources" }}</h2>
2017-03-16 00:00:56 +01:00
<div class="row no-gutter">
{{ range .Site.Params.resources.list }}
2017-03-16 00:00:56 +01:00
<div class="col-lg-4 col-sm-6">
<a href="{{ .link }}" class="resources-box resources-link">
<img src="/img/resources/{{ .img }}" class="img-responsive" alt="">
{{ if .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 .title }}
2017-03-20 13:37:30 +01:00
<div class="resource-name">
2017-03-16 00:00:56 +01:00
{{ . }}
</div>
{{ end }}
{{ with .description }}
<div class="resource-description">
{{ . }}
</div>
{{ end }}
2017-03-16 00:00:56 +01:00
</div>
</div>
{{ end }}
</a>
</div>
{{ end }}
</div>
</div>
</section>