You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
ozgurkon-theme-hugo/layouts/partials/schedule-session.html

44 lines
1.1 KiB

<a href="{{ .Permalink }}">
<h4 title="{{ .Title }}">
{{ .Title }}
<span class="language {{ anchorize .Params.language }}"></span>
</h4>
<hr>
<div class="info">
{{ if .Params.tags }}
<div class="tags">
{{ range .Params.tags }}
{{ range first 1 (where $.Site.Data.categories "key" .) }}
<span>{{ .name }}</span>
{{ end }}
{{ end }}
</div>
{{ end }}
{{ if .Params.presentation }}
<div class="presentation">{{ partial "icon.html" "slides" }}</div>
{{ end }}
{{ if .Params.videoId }}
<div class="video">{{ partial "icon.html" "youtube" }}</div>
{{ end }}
</div>
{{ if .Params.speakers }}
<ul class="speakers {{ if eq 1 (len .Params.speakers) }}single{{ else }}multi{{ end }}">
{{ range where $.Site.RegularPages "Params.key" "in" .Params.speakers }}
<li class="speaker">
<div class="speaker-img" style="background-image: url({{ .Params.photoURL }});"></div>
<strong class="speaker-name">{{ .Params.name }}</strong>
<!-- <div class="speaker-company">{{ .Params.company }}</div>-->
</li>
{{ end }}
</ul>
{{ end }}
</a>