From 767d1c4b31738d765e40ae9b6798ba9c2d47178d Mon Sep 17 00:00:00 2001
From: Bady <bady@disroot.org>
Date: Sat, 10 Oct 2020 16:07:28 +0530
Subject: [PATCH] Add spam warning to all pages

---
 website/content/learners.md          | 3 ---
 website/layouts/_default/baseof.html | 5 +----
 2 files changed, 1 insertion(+), 7 deletions(-)

diff --git a/website/content/learners.md b/website/content/learners.md
index f44d96b..add03f4 100644
--- a/website/content/learners.md
+++ b/website/content/learners.md
@@ -11,9 +11,6 @@ slug: learners
 - Willingness to contribute to society
 - Willingness to use GNU/Linux
 - Communicate with mentors using Free Software tools
-<div style="background-color:#fbe7e3;color:#7e3328;padding:5px 35px 5px 35px;border-left: solid 7px #f3bbb1;text-align: center;display:flex;align-items:center;margin:5vh auto;">
-        <p>Dear Learner, If you have applied for this camp you will receive a reply mail within 5 days of application, please check your Spam folder too in case it doesn't land in your Inbox. If you use Gmail, it might categorize mailing list emails under the 'Promotions' tab.  You will need to set a filter for "<i>mm.gnu.org.in</i>" to ensure it ends up in your Primary inbox. If you don't get one please mail to <i>camp@mm.gnu.org.in</i></p>    
-    </div>
 <div class="deco-box">
   <p>Do you want to apply as Mentor instead?</p>
     <button><a href='../mentors'>Apply As Mentor</a></button>
diff --git a/website/layouts/_default/baseof.html b/website/layouts/_default/baseof.html
index 67f75eb..ef75271 100644
--- a/website/layouts/_default/baseof.html
+++ b/website/layouts/_default/baseof.html
@@ -2,12 +2,9 @@
 <html>
     {{- partial "head.html" . -}}
   <body>
-    {{ if .IsHome }}
-
     <div style="background-color:#fbe7e3;color:#7e3328;padding:5px 35px 5px 35px;border-left: solid 7px #f3bbb1;text-align: center;">
-        <p>Dear Learner, If you have applied for this camp you will receive a reply mail within 5 days of application, please check your Spam folder too in case it doesn't land in your Inbox. If you use Gmail, it might categorize mailing list emails under the 'Promotions' tab.  You will need to set a filter for "<i>mm.gnu.org.in</i>" to ensure it ends up in your Primary inbox. If you don't get one please mail to <i>camp@mm.gnu.org.in</i></p>    
+        <p>Dear learner and mentors, if you have applied for this camp you will receive a reply mail within 5 days of application, please check your Spam folder too in case it doesn't land in your Inbox. If you use Gmail, it might categorize mailing list emails under the 'Promotions' tab.  You will need to set a filter for "<i>mm.gnu.org.in</i>" to ensure it ends up in your Primary inbox. If you don't get one please mail to <i>camp@mm.gnu.org.in</i></p>
     </div>
-{{ end }}
         {{- partial "nav.html" . -}}
         <main>
         {{- block "main" . }}{{- end }}
-- 
GitLab