Skip to content

Commit

Permalink
refactor: add condition for icp config (#176)
Browse files Browse the repository at this point in the history
```release-note
None
```
  • Loading branch information
Anyexyz authored Sep 4, 2024
1 parent c072ac7 commit fb961e7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions templates/modules/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
</div>
<hr class="my-6 border-gray-100 dark:border-slate-700 sm:mx-auto lg:my-8" />
<div class="space-y-1">
<span class="mx-auto block max-w-7xl px-4 text-center text-sm text-gray-500 dark:text-slate-300 lg:px-6">
<span class="mx-auto block max-w-7xl px-4 text-center text-sm text-gray-500 dark:text-slate-300 lg:px-6"
th:if="${not #strings.isEmpty(theme.config.beian.gongan_text)}">
<a
href="https://beian.miit.gov.cn/"
class="hover:underline"
Expand Down Expand Up @@ -124,7 +125,8 @@
</span>

<div class="flex flex-col gap-1 sm:flex-row">
<span class="block text-center text-sm text-gray-500 sm:text-left">
<span class="block text-center text-sm text-gray-500 sm:text-left"
th:if="${not #strings.isEmpty(theme.config.beian.gongan_text)}">
<a
href="https://beian.miit.gov.cn/"
class="hover:underline"
Expand Down

0 comments on commit fb961e7

Please sign in to comment.