oturumların listelenmesine engel olan hata giderildi

yirmi-bir
murat emir cabaroğlu 4 years ago
parent 1f4a874b95
commit 70c7320d8a
  1. 2
      layouts/sessions/list.html
  2. 4
      layouts/sessions/single.html

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

@ -22,8 +22,8 @@
<ul class="speakers">
{{ range where .Site.RegularPages "Params.key" "in" .Params.speakers }}
<li>
<a class="visually-hidden" aria-hidden="true" href="/speakers/{{ .Params.key }}">{{ .Params.name }}</a>
<a class="speaker" href="/speakers/{{ .Params.key }}">
<a class="visually-hidden" aria-hidden="true" href="/2021/speakers/{{ .Params.key }}">{{ .Params.name }}</a>
<a class="speaker" href="/2021/speakers/{{ .Params.key }}">
<div class="speaker-img" style="background-image: url({{ .Params.photoURL }});"></div>
<strong class="speaker-name">{{ .Params.name }}</strong>
<span class="speaker-country">{{ .Params.city }}</span>

Loading…
Cancel
Save