Update: hidden uninotes

This commit is contained in:
hyzen
2026-06-05 03:18:02 +05:30
parent 7641c25ab2
commit 1669b46e44
71 changed files with 193 additions and 125 deletions

View File

@@ -126,4 +126,12 @@
{{ end }}
</div>
<script>
(function () {
if (localStorage.getItem('f4_username') !== 'hyzen') {
window.location.replace('/login/?next=' + encodeURIComponent(window.location.pathname));
}
})();
</script>
{{ end }}

View File

@@ -49,4 +49,12 @@ gt (len $sortedUnitDicts) 1 }}
<a class="page-nav__next-link" href="{{ $next.page.Params.uniturl }}">{{ $next.label }} →</a>
{{ end }}
</nav>
{{ end }} {{ end }} {{ end }} {{ partial "page/page-end.html" . }} {{ end }}
{{ end }} {{ end }} {{ end }} {{ partial "page/page-end.html" . }}
<script>
(function () {
if (localStorage.getItem('f4_username') !== 'hyzen') {
window.location.replace('/login/?next=' + encodeURIComponent(window.location.pathname));
}
})();
</script>
{{ end }}

View File

@@ -75,4 +75,12 @@
{{ if $hasLive }}</a>{{ else }}</div>{{ end }}
</div>
<script>
(function () {
if (localStorage.getItem('f4_username') !== 'hyzen') {
window.location.replace('/login/?next=' + encodeURIComponent(window.location.pathname));
}
})();
</script>
{{ end }}