Commit Diff


commit - 11ded8c0674431f5d48eea0b94e5d5d6d01f6d71
commit + a980685a6484b0277a5bcad4ef053c148d7c21b5
blob - 2117c54d49aae9a311c79217e7c297237e110bec
blob + 911621896e7c38012346c73c1371009b417dc166
--- layouts/atom.atom
+++ layouts/atom.atom
@@ -43,7 +43,6 @@
     {{- $pages = $pages | first $limit -}}
   {{- end -}}
   {{- range $pages }}
-    {{- $pctx := . }}
     {{- if eq .Kind "page" }}
     <entry>
       <title type="html">{{ .Title }}</title>
@@ -53,8 +52,7 @@
       <updated>{{ .Lastmod.Format "2006-01-02T15:04:05Z07:00" | safeHTML }}</updated>
       {{- with .GetTerms "authors" }}
         {{- range . }}
-          {{ .Store.Set "schema" "Person" }}
-          {{- with partial "schema/load" . }}
+          {{- with partial "schema/load" (dict "page" . "schema" "Person") }}
       <author>
         <name>{{ .name }}</name>
             {{- with .email }}