aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorFChannel <>2022-06-04 15:34:45 -0700
committerFChannel <>2022-06-19 12:53:29 -0700
commit5ee6d0a7bb85d7f28fe4f838150c17ecb6a9d1b7 (patch)
tree34eb764abc6c5a1a8dbcaa17c2c3e94e782003c0 /views
parent0b97866be3a15f64170673af9813b39cbc585db5 (diff)
last few routes marked TODO
should be done with them this weekend and all things `should` be working for the fiber transition. still have to test federation locally
Diffstat (limited to 'views')
-rw-r--r--views/partials/post_nav.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/partials/post_nav.html b/views/partials/post_nav.html
index d999c35..1b5075b 100644
--- a/views/partials/post_nav.html
+++ b/views/partials/post_nav.html
@@ -1,7 +1,7 @@
{{ if ne .ReturnTo "catalog" }}
<li>[<a href="/{{ .Board.Name }}/catalog">Catalog</a>]</li>
{{ end }}
-{{ if and (ne .ReturnTo "archive") (showArchive .Board.Actor) }}
+{{ if and (ne .ReturnTo "archive") (ne .PostType "reply") (showArchive .Board.Actor) }}
<li>[<a href="/{{ .Board.Name }}/archive">Archive</a>]</li>
{{ end }}
<li>[<a href="javascript:location.reload()">Refresh</a>]</li>