commenting out rand button in navbar

This commit is contained in:
x
2026-01-24 00:42:33 +01:00
parent 8085b0166c
commit f3a1fde23d

View File

@@ -22,9 +22,9 @@
<div class="nav-links">
<a href="/tags">tags</a>
<a href="/about">about</a>
@if(!/^\/\d$/.test(url.pathname))
<!-- @if(!/^\/\d$/.test(url.pathname))
<a href="/random" id="nav-random">rand</a>
@endif
@endif -->
<a href="#" id="nav-search-btn" title="Search"><svg xmlns="http://www.w3.org/2000/svg" width="12" height="12"
fill="currentColor" viewBox="0 0 16 16">
<path
@@ -51,9 +51,9 @@
<ol>
<a href="/tags">tags</a>
<a href="/about">about</a>
@if(!/^\/\d$/.test(url.pathname))
<!-- @if(!/^\/\d$/.test(url.pathname))
<a href="/random" id="nav-random">rand</a>
@endif
@endif -->
<a href="#" id="nav-search-btn-guest" title="Search"><svg xmlns="http://www.w3.org/2000/svg" width="16"
height="16" fill="currentColor" viewBox="0 0 16 16">
<path