diff options
Diffstat (limited to 'src/content')
-rw-r--r-- | src/content/dependencies/generateContentHeading.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/content/dependencies/generateContentHeading.js b/src/content/dependencies/generateContentHeading.js index 109a32fd..1666ef4b 100644 --- a/src/content/dependencies/generateContentHeading.js +++ b/src/content/dependencies/generateContentHeading.js @@ -10,10 +10,11 @@ export default { slots: { title: {type: 'html'}, id: {type: 'string'}, + tag: {type: 'string', default: 'p'}, }, content(slots) { - return html.tag('p', + return html.tag(slots.tag, { class: 'content-heading', id: slots.id, |