diff --git a/config.json b/config.json index 93f646012b..b920b3fb8f 100644 --- a/config.json +++ b/config.json @@ -43,6 +43,11 @@ "Firefox ESR" ], "settings": { + "page_heading": false, + "breadcrumbs": false, + "blog_page_heading": false, + "category_page_heading": false, + "contact_us_page_heading": false, "homepage_new_products_count": 5, "homepage_featured_products_count": 4, "homepage_top_products_count": 4, diff --git a/schema.json b/schema.json index 980dae5782..9b9933cee6 100644 --- a/schema.json +++ b/schema.json @@ -356,6 +356,40 @@ "label": "Product thumbnail loading background", "id": "container-fill-base" }, + { + "type": "heading", + "content": "Pages" + }, + { + "type": "checkbox", + "label": "Hide breadcrumbs", + "force_reload": true, + "id": "breadcrumbs" + }, + { + "type": "checkbox", + "label": "Hide page heading", + "force_reload": true, + "id": "page_heading" + }, + { + "type": "checkbox", + "label": "Hide category page heading", + "force_reload": true, + "id": "category_page_heading" + }, + { + "type": "checkbox", + "label": "Hide blog page heading", + "force_reload": true, + "id": "blog_page_heading" + }, + { + "type": "checkbox", + "label": "Hide contact-us page heading", + "force_reload": true, + "id": "contact_us_page_heading" + }, { "type": "heading", "content": "Products" diff --git a/templates/components/common/breadcrumbs.html b/templates/components/common/breadcrumbs.html index 95e4ecd4be..2afdc276c4 100644 --- a/templates/components/common/breadcrumbs.html +++ b/templates/components/common/breadcrumbs.html @@ -1,13 +1,15 @@
diff --git a/templates/pages/blog.html b/templates/pages/blog.html index ab68748def..310e98431a 100644 --- a/templates/pages/blog.html +++ b/templates/pages/blog.html @@ -10,7 +10,9 @@ {{> components/common/breadcrumbs breadcrumbs=breadcrumbs}}