Sfoglia il codice sorgente

fix: editorial_workflow mode for Wowchemy CMS (#2319)

The publish_mode option should be placed at the top level instead of under backend.
Ewe Zu Lin 3 anni fa
parent
commit
c0d8f2a41a
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      wowchemy-cms/functions/parse.html

+ 1 - 1
wowchemy-cms/functions/parse.html

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