diff options
| -rw-r--r-- | layouts/_partials/home/home-nav.html | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/layouts/_partials/home/home-nav.html b/layouts/_partials/home/home-nav.html index 32d32644..f4133293 100644 --- a/layouts/_partials/home/home-nav.html +++ b/layouts/_partials/home/home-nav.html @@ -19,11 +19,15 @@ (strings.HasPrefix $.Page.RelPermalink "/categories/") (strings.HasPrefix $.Page.RelPermalink "/tags/")) ) }} - {{ partial "home/home-nav-item" (dict - "text" (T "postNav.settings") - "link" "settings" - "active" (strings.HasPrefix $.Page.RelPermalink "/settings/") - ) }} + <div class="relative"> + {{ partial "home/home-nav-item" (dict + "text" (T "postNav.settings") + "link" "settings" + "active" (strings.HasPrefix $.Page.RelPermalink "/settings/") + ) }} + <span class="absolute text-size-[0.6rem] -top-3 -right-2 + bg-neutral-500 text-white px-1 rounded">Beta</span> + </div> {{ end }} <li class="absolute right-0 dark:invert"> |
