diff --git a/themes/devopsdays-theme/layouts/speaker/single.html b/themes/devopsdays-theme/layouts/speaker/single.html
index eda5160e5c2..31d974526bb 100644
--- a/themes/devopsdays-theme/layouts/speaker/single.html
+++ b/themes/devopsdays-theme/layouts/speaker/single.html
@@ -16,10 +16,8 @@
{{ .Title }}
{{ .Title }} at {{ $e.city }} {{$e.year}}
{{- $.Scratch.Set "speaker" .File.BaseFileName -}}
-
- {{- $p := $.Site.GetPage (printf "events/%s/program/%s" $e.name ($.Scratch.Get "speaker")) -}}
- {{- if $p -}}
- {{- with $p -}}
+ {{- range where $.Site.Pages "Type" "talk" -}}
+ {{- if eq (index (split (.Permalink | relURL) "/") 2) $e.name -}}
{{- range .Params.speakers -}}
{{- if eq . ($.Scratch.Get "speaker") -}}
@@ -30,10 +28,12 @@ {{ .Title }} at {{ $e.city }} {{$e.year}}
{{ .Title }}
{{ $.Scratch.Set "display" "false" }}
{{- end -}}
- {{- end -}}
- {{- end -}}
+ {{- end -}}
+ {{- end -}}
+
{{- if isset .Params "image" -}}