Skip to content

Commit 8bec5d0

Browse files
authored
remove scam warning (scala#3030)
1 parent 8a82765 commit 8bec5d0

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

‎_includes/alert-banner.html‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
{% comment %}use the variable 'message' to include markdown text to display in the alert.{% endcomment %}
22

3+
{% unless include.message_id == 'disabled' %}
34
<headerid="site-header" class="header-home">
45
<divclass="new-on-the-blog alert-warning" data-message_id="{{include.message_id}}">
56
<p>{{include.message|markdownify}}</p>
67
<spanclass="hide"><iclass="fa fa-close"></i></span>
78
</div>
89
</header>
10+
{% endunless %}

‎_layouts/root-content-layout.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<divclass="navigation-fade-screen"></div>
55

6-
{% include alert-banner.html message=site.data.messages.scam-banner message_id='scam-courses-feb-2024' %}
6+
{% include alert-banner.html message_id='disabled' message=site.data.messages.scam-banner %}
77

88
{% include navbar-inner.html %}
99

‎_layouts/root-index-layout.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<divclass="navigation-fade-screen"></div>
44

5-
{% include alert-banner.html message=site.data.messages.scam-banner message_id='scam-courses-feb-2024' %}
5+
{% include alert-banner.html message_id='disabled' message=site.data.messages.scam-banner %}
66

77
{% include navbar-inner.html %}
88

0 commit comments

Comments
(0)