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/sessions/list.html

18 lines
455 B

{{ define "main" }}
{{ .Content }}
<section>
<ul class="talks">
{{ $sessions := where .Site.AllPages ".Section" "sessions" }}
{{ $types := (slice "conference" "quickie" "keynote") }}
{{ range sort $sessions ".Title" }}
{{ if intersect (slice .Params.format) $types }}
<li class="talk tag-{{ anchorize (delimit (.Params.tags | default (slice)) "" ) }}">{{ partial "session.html" . }}</li>
{{ end }}
{{ end }}
</ul>
</section>
{{ end }}