Skip to content

Commit f6c1048

Browse files
author
markzegarelli
authored
Merge pull request #1179 from segmentio/DOC-4_netlify-improvements
DOC-4 add caution header for Netlify preview
2 parents 9a2bbbb + e35a1dc commit f6c1048

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/_layouts/default.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,13 @@
6262
<link rel="stylesheet" href="{{ '/assets/main.css' | relative_url }}">
6363
</head>
6464
<body>
65+
{% if jekyll.environment == "testing" %}
66+
<div style="height:30px; background-color:#fbfb81; width:100%; border-bottom: 1px solid #888">
67+
<div class="stage">
68+
<p>This site is meant for preview only. Please do not share outside of Segment. Search results link directly to production.</p>
69+
</div>
70+
</div>
71+
{% endif %}
6572
<div id="consent-manager"></div>
6673
{{ content }}
6774
<a class="back-scrolling" data-back-scrolling data-active-class="back-scrolling--active">

0 commit comments

Comments
 (0)