update: default theme custom file

This commit is contained in:
tokumeikoi 2022-01-04 03:00:37 +08:00
parent 3ade2bf89c
commit bded1a4ee5

View File

@ -4,7 +4,9 @@
<head>
<link rel="stylesheet" href="/theme/{{$theme}}/assets/components.chunk.css?v={{$verison}}">
<link rel="stylesheet" href="/theme/{{$theme}}/assets/umi.css?v={{$verison}}">
@if (file_exists(public_path("/theme/{$theme}/assets/custom.css")))
<link rel="stylesheet" href="/theme/{{$theme}}/assets/custom.css?v={{$verison}}">
@endif
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no">
@php ($colors = [
@ -57,6 +59,9 @@
gtag('config', 'G-P1E9Z5LRRK');
</script>
@if (file_exists(public_path("/theme/{$theme}/assets/custom.js")))
<script src="/theme/{{$theme}}/assets/custom.js?v={{$verison}}"></script>
@endif
</body>
</html>