Skip to content
This repository was archived by the owner on Nov 2, 2021. It is now read-only.

Commit 7ad6fcb

Browse files
author
Juliette Pretot
committed
add console greeting
1 parent 32b778e commit 7ad6fcb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/html.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ const GREETING = `/*
5151
5252
*/`
5353

54+
const CONSOLE_GREETING = "console.log('🟥🟥🟥🟥🟥🟥🟥\n🟧🟧🟧🟧🟧🟧🟧\n⬜️⬜️⬜️⬜️⬜️⬜️⬜️\n🌸🌸🌸🌸🌸🌸🌸\n🟪🟪🟪🟪🟪🟪🟪')"
55+
5456
const HTML: React.FunctionComponent<{
5557
htmlAttributes: any
5658
headComponents: any
@@ -136,6 +138,7 @@ const HTML: React.FunctionComponent<{
136138
<div id="___gatsby" dangerouslySetInnerHTML={{ __html: body }} />
137139
{postBodyComponents}
138140
</body>
141+
<script dangerouslySetInnerHTML={{ __html: CONSOLE_GREETING }} />
139142
</html>
140143
)
141144

0 commit comments

Comments
 (0)