diff --git a/layouts/partials/programs/hero-essential.html b/layouts/partials/programs/hero-essential.html
index 701db1e890c3f38f06da96a07652c47ccff79f3c..c46362bd1ce5c47a6e374e70ce8ccfaa620ef003 100644
--- a/layouts/partials/programs/hero-essential.html
+++ b/layouts/partials/programs/hero-essential.html
@@ -27,8 +27,8 @@
           <dt>{{ i18n "programs.location" ( len . ) }}</dt>
           <dd>
             {{- range . -}}
-              {{- $locationpage := site.GetPage .path -}}
-              <a href="{{ .permalink }}">{{ $locationpage.Params.title }}</a>
+              {{- $location := site.GetPage .path -}}
+              <a href="{{ .permalink }}">{{ $location.Title }}</a>
             {{- end -}}
           </dd>
         {{- end -}}