fix: editorial_workflow mode for Wowchemy CMS (#2319)

The publish_mode option should be placed at the top level instead of under backend.
This commit is contained in:
Ewe Zu Lin authored and GitHub committed 2021-06-04 18:38:04 +01:00
1 parent e9d82a2421
commit c0d8f2a41a
1 file changed
+1 -1
+1 -1
View File
@@ -7,7 +7,7 @@
{{ with site.Params.cms.publish_mode }}
{{ $publish_mode := dict "publish_mode" . }}
{{ $backend_opts = merge $backend_opts $publish_mode }}
{{ $return = merge $return $publish_mode }}
{{ end }}
{{ if site.Params.cms.local_backend }}