forked from oyd/ozgurkon-theme-hugo
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.
18 lines
455 B
18 lines
455 B
5 years ago
|
{{ 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 }}
|