koel/resources/views/index.blade.php
Fiete Börner c970481f19 add support for non root installations (#673)
* remove all absolute forward slashes to make relative urls

* set global baseUrl in common blade template

use this variable in all api calls

* fix absolute url paths in scss

set a base href in app index files for all relative resource paths

* rename baseUrl to BASE_URL
2017-10-26 15:59:53 +01:00

30 lines
1.2 KiB
PHP

<!DOCTYPE html>
<html>
<head>
<title>Koel</title>
<meta name="description" content="{{ config('app.tagline') }}">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="mobile-web-app-capable" content="yes">
<meta name="theme-color" content="#282828">
<meta name="msapplication-navbutton-color" content="#282828">
<base href="{{ asset('') }}">
<link rel="manifest" href="{{ App::staticUrl('public/manifest.json') }}" />
<meta name="msapplication-config" content="{{ App::staticUrl('public/browserconfig.xml') }}" />
<link rel="icon" type="image/x-icon" href="{{ App::staticUrl('public/img/favicon.ico') }}" />
<link rel="icon" href="{{ App::staticUrl('public/img/icon.png') }}">
<link rel="apple-touch-icon" href="{{ App::staticUrl('public/img/icon.png') }}">
<link rel="stylesheet" href="{{ App::rev('/css/app.css') }}">
</head>
<body>
<div id="app"></div>
<noscript>It may sound funny, but Koel requires JavaScript to sing. Please enable it.</noscript>
@include('client-js-vars')
<script src="{{ App::rev('/js/app.js') }}"></script>
</body>
</html>