wah.moe/resources/views/includes/head.blade.php

22 lines
1.1 KiB
PHP
Raw Normal View History

@php // Get colorscheme from cookie and apply immediately
$colorscheme = request()->cookie('colorscheme', 'catppuccin-macchiato');
@endphp
2023-06-13 22:07:20 +00:00
<!-- Global -->
<meta charset="utf-8">
<meta property="og:type" content="website">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="theme-color" content="#333333">
<link rel="stylesheet" href="{{ asset("/css/colorschemes/{$colorscheme}.css") }}" id="css-colorscheme"/>
2023-08-14 23:17:00 +00:00
<link rel="stylesheet" href="/css/master.css"/>
2023-07-28 22:41:59 +00:00
<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/schemeSwap.js"></script>
2024-01-03 12:44:02 +00:00
{!! (intval(date('n')) == 12) ? '<script src="/js/christmas/snow.js"></script>' : '' !!}
2023-06-13 22:07:20 +00:00
<!-- Page-specific -->
2023-07-29 22:32:21 +00:00
<title>@yield('title') - diskfloppy.me</title>
<meta property="og:title" content="diskfloppy.me | @yield('title')">
2023-06-13 22:07:20 +00:00
<meta property="og:description" content="@yield('description')">
2023-07-29 22:34:34 +00:00
<meta property="og:image" content="/favicon-128x128.png">
2023-08-14 23:02:26 +00:00
<meta name="description" content="@yield('description')">