Skip to content

Commit 87c8ae1

Browse files
committed
🐛 Fix: 修复友链页面 bug, 升级 jquery to 3.6.1
#283 #319 #310
1 parent 2e5d2df commit 87c8ae1

File tree

3 files changed

+8
-12
lines changed

3 files changed

+8
-12
lines changed

Diff for: links.ftl

+3-5
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,9 @@
1414
</#if>
1515
<div class="h-96 align-middle table-cell relative w-full index flex justify-center">
1616
<img class=" object-cover my-4 ring-2 ring-white m-avatar w-20 h-20 rounded-full bg-white max-w-full border-2 border-white border-solid mx-auto no-zoom" src="${user.avatar}" alt="${user.nickname!}">
17-
<#if settings.home_description!=''>
18-
<p class="slogan text-center text-white dark:text-gray-300 text-lg md:text-xl text-center">
19-
${settings.home_description!}
20-
</p>
21-
</#if>
17+
<p class="slogan text-center text-white dark:text-gray-300 text-lg md:text-xl text-center">
18+
${settings.home_description!}
19+
</p>
2220
</div>
2321
</header>
2422
<div

Diff for: sheet_links.ftl

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
</#if>
1515
<div class="h-96 align-middle table-cell relative w-full index flex justify-center">
1616
<img class=" object-cover my-4 ring-2 ring-white m-avatar w-20 h-20 rounded-full bg-white max-w-full border-2 border-white border-solid mx-auto no-zoom" src="${user.avatar}" alt="${user.nickname!}">
17-
<#if sheet.summary!='' || settings.home_description!=''>
17+
<#if sheet.summary?? || settings.home_description??>
1818
<p class="slogan text-center text-white dark:text-gray-300 text-lg md:text-xl text-center">
19-
<#if sheet.summary!='' >${sheet.summary}<#else>${settings.home_description!}</#if>
19+
<#if sheet.summary?? >${sheet.summary}<#else>${settings.home_description!}</#if>
2020
</p>
2121
</#if>
2222
</div>
@@ -46,7 +46,7 @@
4646
</#list>
4747
</div>
4848
</#list>
49-
<#if sheet.content != ''>
49+
<#if sheet.content??>
5050
<div class="mx-auto bg-white dark:bg-gray-800 rounded-md px-10 py-10 md-content mt-8 max-w-4xl tracking-wider md:leading-relaxed sm:leading-normal heti text-gray-800 dark:text-gray-300"
5151
id="lightGallery">
5252
${sheet.content!}

0 commit comments

Comments
 (0)