Skip to content

Commit 87424e1

Browse files
committed
Added option to theme config to disable custom background images
1 parent 5665465 commit 87424e1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

resources/views/littlelink.blade.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ function themeAsset($path){
4545
<meta name="viewport" content="width=device-width, initial-scale=1">
4646
@endif
4747

48+
@if(theme('allow_custom_background') != "false")
4849
@php
4950
$customBackgroundFile = findBackground($userinfo->id);
5051
$customBackgroundPath = base_path('/img/background-img/'.$customBackgroundFile);
@@ -67,6 +68,7 @@ function themeAsset($path){
6768
}
6869
</style>
6970
@endif
71+
@endif
7072

7173
<!--#### BEGIN Meta Tags social media preview images ####-->
7274
<!-- This shows a preview for title, description and avatar image of users profiles if shared on social media sites -->

0 commit comments

Comments
 (0)