1
0
mirror of https://github.com/Kovah/LinkAce.git synced 2025-02-25 03:32:59 +01:00
LinkAce/resources/views/partials/header.blade.php

38 lines
1.3 KiB
PHP

<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ systemsettings('system_page_title') ?: config('app.name', 'LinkAce') }}</title>
@stack('html-header')
@include('partials.favicon')
@include('partials.social-meta')
@include('partials.configure-darkmode')
<script defer src="{{ mix('assets/dist/js/dependencies.js') }}"></script>
<script defer src="{{ mix('assets/dist/js/app.js') }}"></script>
<meta property="la-app-data" content="{{ json_encode([
'user' => [
'token' => csrf_token(),
],
'routes' => [
'fetch' => [
'searchLists' => route('fetch-lists'),
'searchTags' => route('fetch-tags'),
'existingLinks' => route('fetch-existing-links'),
'htmlForUrl' => route('fetch-html-for-url'),
'updateCheck' => route('fetch-update-check'),
'generateApiToken' => route('generate-api-token'),
'generateCronToken' => route('generate-cron-token'),
]
]
]) }}">
@if(systemsettings('system_custom_header_content') && config('app.demo') === false)
<!-- Begin of custom header scripts -->
{!! systemsettings('system_custom_header_content') !!}
<!-- End of custom header scripts -->
@endif