mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-04-15 10:47:25 +02:00
Refactor
This commit is contained in:
parent
32a796181a
commit
9366519a9c
@ -22,8 +22,6 @@ return $path;}
|
|||||||
|
|
||||||
@foreach($information as $info) @php $GLOBALS['themeName'] = $info->theme; @endphp @endforeach
|
@foreach($information as $info) @php $GLOBALS['themeName'] = $info->theme; @endphp @endforeach
|
||||||
|
|
||||||
@if(theme('enable_custom_code') == "true" and theme('enable_custom_head') == "true" and env('ALLOW_CUSTOM_CODE_IN_THEMES') == 'true')@include($GLOBALS['themeName'] . '.extra.custom-head')@endif
|
|
||||||
|
|
||||||
@if(theme('allow_custom_background') != "false")
|
@if(theme('allow_custom_background') != "false")
|
||||||
@php
|
@php
|
||||||
$customBackgroundFile = findBackground($userinfo->id);
|
$customBackgroundFile = findBackground($userinfo->id);
|
||||||
@ -50,6 +48,7 @@ if($customBackgroundExists == true){
|
|||||||
@endif
|
@endif
|
||||||
|
|
||||||
@push('linkstack-head-end')
|
@push('linkstack-head-end')
|
||||||
|
@if(theme('enable_custom_code') == "true" and theme('enable_custom_head') == "true" and env('ALLOW_CUSTOM_CODE_IN_THEMES') == 'true')@include($GLOBALS['themeName'] . '.extra.custom-head')@endif
|
||||||
@if($info->theme != '' and $info->theme != 'default')
|
@if($info->theme != '' and $info->theme != 'default')
|
||||||
|
|
||||||
<!-- LinkStack Theme: "{{$info->theme}}" -->
|
<!-- LinkStack Theme: "{{$info->theme}}" -->
|
||||||
|
Loading…
x
Reference in New Issue
Block a user