Skip to content

remove scam warning #3030

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions _includes/alert-banner.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{% comment %}use the variable 'message' to include markdown text to display in the alert.{% endcomment %}

{% unless include.message_id == 'disabled' %}
<header id="site-header" class="header-home">
<div class="new-on-the-blog alert-warning" data-message_id="{{include.message_id}}">
<p>{{include.message|markdownify}}</p>
<span class="hide"><i class="fa fa-close"></i></span>
</div>
</header>
{% endunless %}
2 changes: 1 addition & 1 deletion _layouts/root-content-layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<div class="navigation-fade-screen"></div>

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

{% include navbar-inner.html %}

Expand Down
2 changes: 1 addition & 1 deletion _layouts/root-index-layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<div class="navigation-fade-screen"></div>

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

{% include navbar-inner.html %}

Expand Down
Loading