File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -758,6 +758,10 @@ def create_page(
758758 if full_width is True :
759759 data ["metadata" ]["properties" ]["content-appearance-draft" ] = {"value" : "full-width" }
760760 data ["metadata" ]["properties" ]["content-appearance-published" ] = {"value" : "full-width" }
761+ else :
762+ data ["metadata" ]["properties" ]["content-appearance-draft" ] = {"value" : "fixed-width" }
763+ data ["metadata" ]["properties" ]["content-appearance-published" ] = {"value" : "fixed-width" }
764+
761765 try :
762766 response = self .post (url , data = data )
763767 except HTTPError as e :
@@ -1643,6 +1647,9 @@ def update_page(
16431647 if full_width is True :
16441648 data ["metadata" ]["properties" ]["content-appearance-draft" ] = {"value" : "full-width" }
16451649 data ["metadata" ]["properties" ]["content-appearance-published" ] = {"value" : "full-width" }
1650+ else :
1651+ data ["metadata" ]["properties" ]["content-appearance-draft" ] = {"value" : "fixed-width" }
1652+ data ["metadata" ]["properties" ]["content-appearance-published" ] = {"value" : "fixed-width" }
16461653 try :
16471654 response = self .put (
16481655 "rest/api/content/{0}" .format (page_id ),
You can’t perform that action at this time.
0 commit comments