helloworldhellwoorldeofoehfafihuofijoahfgyioafjpafhzguirg uvuizerurg_ozerygvoiuhrgreqiogrehh
This commit is contained in:
parent
3379242f31
commit
c00a301523
79 changed files with 1614 additions and 3 deletions
48
themes/vmems-theme/layouts/partials/team-carousel.html
Normal file
48
themes/vmems-theme/layouts/partials/team-carousel.html
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
{{ if (isset site.Data "employees") }}
|
||||
{{ if gt (len site.Data.employees) 0 }}
|
||||
<div class="carousel employees-carousel" data-to-slick='{
|
||||
"autoplay":true,
|
||||
"arrows":false,
|
||||
"slidesToShow":3,
|
||||
"slidesToScroll":1,
|
||||
"infinite":true,
|
||||
"center": true,
|
||||
"autoplaySpeed":2000,
|
||||
"prevArrow":false,
|
||||
"nextArrow":false,
|
||||
"dots":true
|
||||
}'>
|
||||
|
||||
{{ range (sort site.Data.employees "weight") }}
|
||||
{{ if not (eq .name "NODATA") }}
|
||||
<div class=item>
|
||||
{{ if .href }}
|
||||
<a href="{{ .href}}">
|
||||
{{ end }}
|
||||
<div class=img>
|
||||
<img src="{{ .img }}">
|
||||
</div>
|
||||
<div class=text>
|
||||
<h3 class=title>
|
||||
{{ .name }}
|
||||
</h3>
|
||||
<div class=description>
|
||||
{{ .description | safeHTML }}
|
||||
</div>
|
||||
<p>Poste occupé: {{ .post }}</p>
|
||||
{{ if .url }}
|
||||
<p><a href="{{ .url }}">Lien externe <i class="fas fa-link"></i></a></p>
|
||||
{{ end }}
|
||||
{{ if .writername }}
|
||||
<p>Nom d'écriture: {{ .writername }}</p>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ if .href }}
|
||||
</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue