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 2021-06-05 01:38:04 +08:00 committed by GitHub
commit c0d8f2a41a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 }}