added topic traversal (Read New/Next Topic), untested

This commit is contained in:
2026-01-16 23:17:51 -07:00
parent 64b2b06733
commit 785c45543c
4 changed files with 146 additions and 9 deletions
+6 -6
View File
@@ -24,13 +24,13 @@
class="bg-gray-600 hover:bg-gray-700 text-white px-4 py-2 rounded text-sm font-medium transition-colors">
{{ if isTopicHidden }}Show Topic{{ else }}Hide Topic{{ end }}
</a>
{{ if false }}{* TODO *}
<a href="/TODO"
{{ if isset(urlNextTopic) }}
<a href="{{ urlNextTopic }}"
class="bg-green-600 hover:bg-green-700 text-white px-4 py-2 rounded text-sm font-medium transition-colors">Next Topic</a>
{{ if false }}{* TODO *}
<a href="/TODO"
class="bg-green-600 hover:bg-green-700 text-white px-4 py-2 rounded text-sm font-medium transition-colors">Next & Keep New</a>
{{ end }}
{{ end }}
{{ if isset(urlNextKeepNew) }}
<a href="{{ urlNextKeepNew }}"
class="bg-green-600 hover:bg-green-700 text-white px-4 py-2 rounded text-sm font-medium transition-colors">Next & Keep New</a>
{{ end }}
<a href="/TODO"
class="bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded text-sm font-medium transition-colors">Find</a>