diff options
Diffstat (limited to 'src/content/dependencies/generateContentHeading.js')
-rw-r--r-- | src/content/dependencies/generateContentHeading.js | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/content/dependencies/generateContentHeading.js b/src/content/dependencies/generateContentHeading.js index ab883ed8..2753fe86 100644 --- a/src/content/dependencies/generateContentHeading.js +++ b/src/content/dependencies/generateContentHeading.js @@ -24,8 +24,10 @@ export default { color: {validate: v => v.isColor}, - id: {type: 'string'}, - tag: {type: 'string', default: 'p'}, + tag: { + type: 'string', + default: 'p', + }, }, generate: (relations, slots, {html}) => @@ -34,9 +36,6 @@ export default { slots.attributes, - slots.id && - {id: slots.id}, - slots.color && relations.colorStyle.slot('color', slots.color), |