Skip to content

Commit 70488e5

Browse files
Allow Module settings in site.Params
1 parent c933777 commit 70488e5

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

partials/private/GetModuleConfig.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@
1515
{{ end }}
1616
*/}}
1717
{{ $return := dict }}
18-
{{ with site.Data.netlifycms.config }}
19-
{{ with .tnd_netlifycms }}
20-
{{ $return = . }}
18+
{{ with site.Params.tnd_netlifycms }}
19+
{{ $return = . }}
20+
{{ else }}
21+
{{ with site.Data.netlifycms.config.tnd_netlifycms }}
22+
{{ $return = . }}
2123
{{ end }}
2224
{{ end }}
2325

0 commit comments

Comments
 (0)