Skip to content

Commit 9a95925

Browse files
committed
Add staging website warning banner
1 parent 1d0cee4 commit 9a95925

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

_includes/header.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@
3939
<link rel="alternate" type="application/atom+xml" title="Blog posts" href="/feed.xml" />
4040
</head>
4141
<body>
42+
{%- if jekyll.environment != "production" %}
43+
<h1 style="position: absolute; left: 0; width: 100%; box-sizing: border-box; color: #000; background-color: #ff0; text-align: center; padding: 10px; border-bottom: 3px dashed #000; margin: 0;">Staging Website - not for public consumption</h1>
44+
{% endif %}
4245
<header>
4346
<a href="/"><img src="/assets/images/avaicon.png" id="icon" alt="86Box logo" /><img src="/assets/images/86box-logo.png" id="logo" alt="86Box logo" /></a>
4447
</header>

0 commit comments

Comments
 (0)