Skip to content

Commit 9366519

Browse files
committed
Refactor
1 parent 32a7961 commit 9366519

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

resources/views/linkstack/modules/theme.blade.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ function themeAsset($path){
2222

2323
@foreach($information as $info) @php $GLOBALS['themeName'] = $info->theme; @endphp @endforeach
2424

25-
@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
26-
2725
@if(theme('allow_custom_background') != "false")
2826
@php
2927
$customBackgroundFile = findBackground($userinfo->id);
@@ -50,6 +48,7 @@ function themeAsset($path){
5048
@endif
5149

5250
@push('linkstack-head-end')
51+
@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
5352
@if($info->theme != '' and $info->theme != 'default')
5453

5554
<!-- LinkStack Theme: "{{$info->theme}}" -->

0 commit comments

Comments
 (0)