Skip to content

Commit

Permalink
🐛 Fix: 修复友链页面 bug, 升级 jquery to 3.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
xzhuz committed Nov 4, 2022
1 parent 2e5d2df commit 87c8ae1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
8 changes: 3 additions & 5 deletions links.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,9 @@
</#if>
<div class="h-96 align-middle table-cell relative w-full index flex justify-center">
<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!}">
<#if settings.home_description!=''>
<p class="slogan text-center text-white dark:text-gray-300 text-lg md:text-xl text-center">
${settings.home_description!}
</p>
</#if>
<p class="slogan text-center text-white dark:text-gray-300 text-lg md:text-xl text-center">
${settings.home_description!}
</p>
</div>
</header>
<div
Expand Down
6 changes: 3 additions & 3 deletions sheet_links.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
</#if>
<div class="h-96 align-middle table-cell relative w-full index flex justify-center">
<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!}">
<#if sheet.summary!='' || settings.home_description!=''>
<#if sheet.summary?? || settings.home_description??>
<p class="slogan text-center text-white dark:text-gray-300 text-lg md:text-xl text-center">
<#if sheet.summary!='' >${sheet.summary}<#else>${settings.home_description!}</#if>
<#if sheet.summary?? >${sheet.summary}<#else>${settings.home_description!}</#if>
</p>
</#if>
</div>
Expand Down Expand Up @@ -46,7 +46,7 @@
</#list>
</div>
</#list>
<#if sheet.content != ''>
<#if sheet.content??>
<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"
id="lightGallery">
${sheet.content!}
Expand Down
Loading

0 comments on commit 87c8ae1

Please sign in to comment.