From 307b6cfa10595aa88e063dfb6c3e5de7d5dc20fd Mon Sep 17 00:00:00 2001 From: Aidan Cornelius-Bell Date: Fri, 10 Jan 2025 14:10:58 +1030 Subject: [PATCH] Fixed valentine message presence every day --- app/views/pubview/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/pubview/index.html.erb b/app/views/pubview/index.html.erb index baf2255..ada59d2 100644 --- a/app/views/pubview/index.html.erb +++ b/app/views/pubview/index.html.erb @@ -2,7 +2,7 @@ <%= link_to root_path do %> <%= image_tag "icon-512.png", class: "logo", alt: "mind reader logo" %> <% end %> -

mind reader <% if [Time.current.strftime("%-d/%-m")] & ["9/1", "8/2", "14/2", "12/4"] %>acb❦pab<% end %>

+

mind reader <% if ["9/1", "8/2", "14/2", "12/4"].include?(Time.current.strftime("%-d/%-m")) %>acb❦pab<% end %>

An anti-capitalist blog of dispatches and links from Aidan Cornelius-Bell

-- 2.39.5