aboutsummaryrefslogtreecommitdiff
path: root/static/nposts.html
diff options
context:
space:
mode:
authorFChannel <>2021-07-31 11:42:59 -0700
committerFChannel <>2021-07-31 11:42:59 -0700
commitac288d40da3235b9382d685c9958ad167a758bcd (patch)
tree676b11c79625a0ec5a6a0c6a52b94f89e1fe72e8 /static/nposts.html
parentf0ce5bc6d4146bc1191b8f8428c387a9085217e5 (diff)
added archive page and viewing
Diffstat (limited to 'static/nposts.html')
-rw-r--r--static/nposts.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/static/nposts.html b/static/nposts.html
index 2b05b66..e70b982 100644
--- a/static/nposts.html
+++ b/static/nposts.html
@@ -10,15 +10,14 @@
<meta name="twitter:title" content="{{ .Title }}">
<meta name="twitter:description" content="{{ .Board.Summary }}">
<meta name="twitter:card" content="summary_large_image">
-<script src="/static/js/posts.js"></script>
{{ end }}
-
{{ define "content" }}
{{ $board := .Board }}
<hr>
<ul style="margin: 0; padding: 0; display: inline">
<li style="display: inline"><a href="/{{ $board.Name }}/catalog">[Catalog]</a></li>
+ <li style="display: inline"><a href="/{{ $board.Name }}/archive">[Archive]</a></li>
<li style="display: inline"><a href="#bottom">[Bottom]</a></li>
<li style="display: inline"><a href="javascript:location.reload()">[Refresh]</a></li>
</ul>
@@ -28,6 +27,7 @@
<hr>
<ul style="margin: 0; padding: 0; display: inline">
<li style="display: inline"><a href="/{{ $board.Name }}/catalog">[Catalog]</a></li>
+ <li style="display: inline"><a href="/{{ $board.Name }}/archive">[Archive]</a></li>
<li style="display: inline"><a id="bottom" href="#top">[Top]</a></li>
<li style="display: inline"><a href="javascript:location.reload()">[Refresh]</a></li>
</ul>
@@ -54,5 +54,6 @@
{{ end }}
{{ define "script" }}
+<script src="/static/js/posts.js"></script>
<script src="/static/js/footerscript.js"></script>
{{ end }}