From 9e8f4e3ea7261dcfc1fdf6dad623e3938ef8cf48 Mon Sep 17 00:00:00 2001 From: pushuo Date: Tue, 3 Jan 2023 18:15:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9C=8D=E5=8A=A1=E5=9B=BE?= =?UTF-8?q?=E6=A0=87=20=E5=90=AF=E7=94=A8=E6=8C=89=E9=92=AE=E5=A4=B1?= =?UTF-8?q?=E6=95=88=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/default/layout/footer.blade.php | 29 ++++++++++++++------------ 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/themes/default/layout/footer.blade.php b/themes/default/layout/footer.blade.php index 2fa748db..828eacce 100644 --- a/themes/default/layout/footer.blade.php +++ b/themes/default/layout/footer.blade.php @@ -2,23 +2,26 @@ @php $locale = locale(); @endphp -
-
-
- @foreach ($footer_content['services']['items'] as $item) -
-
-
-
-

{{ $item['title'][locale()] ?? '' }}

-

{{ $item['sub_title'][locale()] ?? '' }}

+ + @if ($footer_content['services']['enable']) +
+
+
+ @foreach ($footer_content['services']['items'] as $item) +
+
+
+
+

{{ $item['title'][locale()] ?? '' }}

+

{{ $item['sub_title'][locale()] ?? '' }}

+
-
- @endforeach + @endforeach +
-
+ @endif