diff options
Diffstat (limited to 'src/misc-templates.js')
-rw-r--r-- | src/misc-templates.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/misc-templates.js b/src/misc-templates.js index 10422a29..d7b24fbd 100644 --- a/src/misc-templates.js +++ b/src/misc-templates.js @@ -727,13 +727,17 @@ function unbound_generateStickyHeadingContainer({ html, img, + class: classes, coverSrc, coverAlt, coverTags, title, }) { return html.tag('div', - {class: 'content-sticky-heading-container'}, + {class: [ + 'content-sticky-heading-container', + coverSrc && 'has-cover', + ].concat(classes)}, [ html.tag('div', {class: 'content-sticky-heading-row'}, [ html.tag('h1', title), |