diff --git a/src/decorate.js b/src/decorate.js
index 960a6d3..fa1bd5c 100644
--- a/src/decorate.js
+++ b/src/decorate.js
@@ -10,9 +10,6 @@
* governing permissions and limitations under the License.
*/
-import { toCamelCase, toClassName } from './utils.js';
-import { readBlockConfig } from './block-utils.js';
-
/**
* Add for icon, prefixed with codeBasePath and optional prefix.
* @param {Element} [span] span element with icon classes
@@ -65,20 +62,5 @@ export function decorateSections(main) {
section.classList.add('section');
section.dataset.sectionStatus = 'initialized';
section.style.display = 'none';
-
- // Process section metadata
- const sectionMeta = section.querySelector('div.section-metadata');
- if (sectionMeta) {
- const meta = readBlockConfig(sectionMeta);
- Object.keys(meta).forEach((key) => {
- if (key === 'style') {
- const styles = meta.style.split(',').filter((style) => style).map((style) => toClassName(style.trim()));
- styles.forEach((style) => section.classList.add(style));
- } else {
- section.dataset[toCamelCase(key)] = meta[key];
- }
- });
- sectionMeta.parentNode.remove();
- }
});
}
diff --git a/test/decorate/decorateSections.test.html b/test/decorate/decorateSections.test.html
index 894943b..78b9b51 100644
--- a/test/decorate/decorateSections.test.html
+++ b/test/decorate/decorateSections.test.html
@@ -23,7 +23,7 @@
Find some of our favorite staff picks below: