summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrankie B <git@diskfloppy.me>2024-01-03 12:44:02 +0000
committerFrankie B <git@diskfloppy.me>2024-01-03 12:44:02 +0000
commit711a8de27ba976af5fa6e444f3ef4321293e258e (patch)
tree78d50dc5a14d4fa7a689b46386c18bfe557fcce3
parent9d89e83f3816a7f1db8a6e57adb47750d0e0347c (diff)
Change snow to only show in December
-rw-r--r--resources/views/includes/head.blade.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/views/includes/head.blade.php b/resources/views/includes/head.blade.php
index 1204063..3eb2559 100644
--- a/resources/views/includes/head.blade.php
+++ b/resources/views/includes/head.blade.php
@@ -7,7 +7,7 @@
<link rel="stylesheet" href="/css/master.css"/>
<link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32"/>
<link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16"/>
- <script src="/js/christmas/snow.js"></script>
+ {!! (intval(date('n')) == 12) ? '<script src="/js/christmas/snow.js"></script>' : '' !!}
<!-- Page-specific -->
<title>@yield('title') - diskfloppy.me</title>