aboutsummaryrefslogtreecommitdiff
path: root/static/npost.html
diff options
context:
space:
mode:
authorFChannel <>2022-06-19 12:47:32 -0700
committerFChannel <>2022-06-19 16:03:29 -0700
commitb02f813e519dc890f2eb4827ff52cff3ff90c828 (patch)
treed020fbdefda52542aab3f4250bf93533e9f38504 /static/npost.html
parentcd99df8d6781c3f0a191d119ea0ddf8c4a16089f (diff)
v0.1.0
Diffstat (limited to 'static/npost.html')
-rw-r--r--static/npost.html66
1 files changed, 0 insertions, 66 deletions
diff --git a/static/npost.html b/static/npost.html
deleted file mode 100644
index cf78db7..0000000
--- a/static/npost.html
+++ /dev/null
@@ -1,66 +0,0 @@
-{{ define "header" }}
-<title>/{{ .Board.Name }}/ - {{ .PostId }}</title>
-<meta name="description" content="{{ (index .Posts 0).Content }}">
-<meta property="og:url" content="{{ (index .Posts 0).Id }}">
-<meta property="og:site_name" content="{{ .Instance.PreferredUsername }}" />
-
-<meta property="og:title" content="{{ (index .Posts 0).Name }}">
-<meta property="og:description" content="{{ (index .Posts 0).Content }}">
-
-<meta name="twitter:title" content="{{ (index .Posts 0).Name }}">
-<meta name="twitter:description" content="{{ (index .Posts 0).Content }}">
-<meta name="twitter:card" content="summary_large_image">
-
-{{ if (index .Posts 0).Preview }}
-<meta property="og:image" content="{{ (index .Posts 0).Preview.Href }}" />
-<meta name="twitter:image" content="{{ (index .Posts 0).Preview.Href }}" />
-{{ end }}
-{{ end }}
-
-{{ define "content" }}
-{{ $board := .Board }}
-
-<hr>
-<ul id="navlinks">
- <li>[<a href="/{{ $board.Name }}">Return</a>]</li>
- <li>[<a href="/{{ $board.Name }}/catalog">Catalog</a>]</li>
- <li>[<a href="#bottom">Bottom</a>]</li>
- <li>[<a href="javascript:location.reload()">Refresh</a>]</li>
-</ul>
-<hr>
-
-{{ template "posts" . }}
-
-<hr>
-
-<table id="threadfooter"><tr>
- <td>
- <ul id="navlinks">
- <li>[<a href="/{{ $board.Name }}">Return</a>]</li>
- <li>[<a href="/{{ $board.Name }}/catalog">Catalog</a>]</li>
- <li>[<a id="bottom" href="#top">Top</a>]</li>
- <li>[<a href="javascript:location.reload()">Refresh</a>]</li>
- <li><input id="autoreload-checkbox" type="checkbox" onclick="autoTimer()"> Auto refresh <span id="autoreload-countdown" style="visibility: hidden;">0</span></li>
- </ul>
- </td>
-
- {{ if eq (index .Posts 0).Type "Note" }}
- <td style="text-align: center;">
- <span>[<a id="reply-content" href="javascript:quote('{{ $board.Actor.Id }}', '{{ (index .Posts 0).Id }}', 'reply')">Post a Reply</a>]</span>
- </td>
- {{ end }}
-
- <td>
- {{ $replies := (index .Posts 0).Replies }}
- <span id="threadStats" data-total="{{ $replies.TotalItems }}" data-imgs="{{ $replies.TotalImgs }}">{{ $replies.TotalItems }} / {{ $replies.TotalImgs }}</span>
- </td>
-</tr></table>
-
-<hr>
-{{ end }}
-
-{{ define "script" }}
-<script src="/static/js/posts.js"></script>
-<script src="/static/js/footerscript.js"></script>
-<script src="/static/js/timer.js"></script>
-{{ end }}