feat(theme-yun): mobile post page title icon customizability

This commit is contained in:
JasonXuDeveloper - 傑 2025-07-15 01:15:59 +10:00
parent eecfc69885
commit 44cce225bc
1 changed files with 7 additions and 1 deletions

View File

@ -58,7 +58,13 @@ function goToLink() {
flex="~ col"
class="nav-menu-post-title text-xs font-bold flex items-center gap-1 lt-sm:max-w-40"
>
<span class="truncate"> {{ $tO(fm.title || '') }}</span>
<div class="gap-1" flex="~">
<div
class="size-4"
:class="fm.icon || ''"
/>
<span class="truncate"> {{ $tO(fm.title || '') }}</span>
</div>
<span v-if="fm.subtitle" class="font-light op-80">
{{ $tO(fm.subtitle || '') }}
</span>