Commit d7c1ab6c authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Inline CSS zu Performancezwecken hinzugefügt. Piwik von der Startseite entfernt.

parent 010704f4
......@@ -326,7 +326,7 @@
</li>
@endif
</ul>
<script src="{{ mix('/js/scriptStartPage.js') }}"></script>
<script src="{{ mix('/js/scriptStartPage.js') }}" defer></script>
@endsection
@section('optionalContent')
......
......@@ -14,11 +14,14 @@
<meta rel="icon" type="image/x-icon" href="/favicon.ico" />
<meta rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
<link rel="search" type="application/opensearchdescription+xml" title="{{ trans('staticPages.opensearch') }}" href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), action('StartpageController@loadPlugin', ['params' => base64_encode(serialize(Request::all()))])) }}">
<link type="text/css" rel="stylesheet" href="/font-awesome/css/font-awesome.min.css" />
<link type="text/css" rel="stylesheet" href="{{ mix('css/themes/default.css') }}" />
<style>
@php
echo file_get_contents(public_path() . mix('css/themes/default.css'));
@endphp
</style>
<link id="theme" type="text/css" rel="stylesheet" href="/css/theme.css.php" />
<script src="{{ mix('js/scriptSubPages.js') }}"></script>
<script src="{{ mix('js/lib.js') }}"></script>
<script src="{{ mix('js/scriptSubPages.js') }}" defer></script>
<script src="{{ mix('js/lib.js') }}" defer></script>
@if (isset($css))
@if(is_array($css))
@foreach($css as $el)
......@@ -200,7 +203,6 @@
<img src="/img/luh_metager.png" alt="LUH Logo"></a>
</li>
</footer>
<img src="{{ action('ImageController@generateImage')}}?site={{ urlencode(url()->current()) }}" class="hidden" />
</div>
</body>
</html>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment