Server-side "is it christmas"
This commit is contained in:
parent
3e97458ee2
commit
0a50c93d3a
3 changed files with 21 additions and 26 deletions
|
@ -10,7 +10,8 @@
|
|||
<link rel="stylesheet" href="{{ asset('/css/master.css') }}"/>
|
||||
<link rel="icon" type="image/png" href="{{ asset('/favicon-32x32.png') }}" sizes="32x32"/>
|
||||
<link rel="icon" type="image/png" href="{{ asset('/favicon-16x16.png') }}" sizes="16x16"/>
|
||||
{!! (intval(date('n')) == 12) ? '<script src="/js/christmas/snowstorm.js"></script>' : '' !!}
|
||||
@if ($isChristmas)<script src="{{ asset('/js/christmas/snowstorm.js') }}"></script>@endif
|
||||
|
||||
|
||||
<!-- Page-specific -->
|
||||
<meta property="og:title" content="wah! (dot moe) - {{ $title }}">
|
||||
|
@ -36,6 +37,7 @@
|
|||
<div id="footer">
|
||||
<div>
|
||||
<span>
|
||||
{{ $isChristmas === true ? "true" : "false" }}
|
||||
© floppydisk 2021-{{ date('Y') }}<br>
|
||||
v{{ config('app.version') }}, <a href="https://git.frzn.dev/fwoppydwisk/diskfloppy.me/releases/latest">Source</a><br>
|
||||
Served by {{ gethostname() }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue