mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
Move the contributor comment to end of source
This commit is contained in:
parent
bcdce2e885
commit
aadf721808
@ -1,4 +1,4 @@
|
|||||||
/* eslint-disable react/no-danger */
|
/* eslint-disable react/no-danger */
|
||||||
export const HtmlComment = ({ text }) => (
|
export const HtmlComment = ({ text }) => (
|
||||||
<div dangerouslySetInnerHTML={{ __html: `<!-- ${text} -->` }} />
|
<span style={{ display: 'none' }} dangerouslySetInnerHTML={{ __html: `\n\n<!-- ${text} -->` }} />
|
||||||
);
|
);
|
||||||
|
|||||||
@ -26,11 +26,12 @@ class InlineStylesHead extends Head {
|
|||||||
export default function Document() {
|
export default function Document() {
|
||||||
return (
|
return (
|
||||||
<Html lang="en">
|
<Html lang="en">
|
||||||
<HtmlComment text="If you're reading this we'd love your help with Owncast! Visit https://owncast.online/help to see how you can contribute to make independent, open source live streaming better with your help." />
|
|
||||||
<InlineStylesHead />
|
<InlineStylesHead />
|
||||||
<body>
|
<body>
|
||||||
<Main />
|
<Main />
|
||||||
<NextScript />
|
<NextScript />
|
||||||
|
{'\n\n'}
|
||||||
|
<HtmlComment text="If you're reading this we'd love your help with Owncast! Visit https://owncast.online/help to see how you can contribute to make independent, open source live streaming better with your help." />
|
||||||
</body>
|
</body>
|
||||||
</Html>
|
</Html>
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user