summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-07-17 09:31:24 +0800
committerEltrac <hi@guhub.cn>2025-07-17 09:31:24 +0800
commit1058ae7393523fc581fe3fa4fc9573be2c18797d (patch)
treec210626c9fe79a322e29db3f2c41872bedaad539 /layouts
parent1d3ef03210f966b7701ee618c80dab9e859488df (diff)
refactor: abandon mixins
Former-commit-id: 558a9b113a80afc24f68024b4bf005aba859548b
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_partials/home/home-nav-item.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_partials/home/home-nav-item.html b/layouts/_partials/home/home-nav-item.html
index df1e6121..aea3c481 100644
--- a/layouts/_partials/home/home-nav-item.html
+++ b/layouts/_partials/home/home-nav-item.html
@@ -2,10 +2,10 @@
{{ $link := .link }}
{{ $text := .text }}
-<li class="flex-shrink-0 flex-grow-0 {{ if $active }}font-bolder{{ end }}">
+<li class="flex-shrink-0 flex-grow-0">
<a data-umami-event="🧭 Click postnav link"
href="{{ .Site.LanguagePrefix }}/{{ $link }}"
- class="small-button"
+ class="small-button {{ if $active }}font-extrabold{{ end }}"
>
{{ $text }}
</a>