aboutsummaryrefslogtreecommitdiff
path: root/static/nposts.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/nposts.html
parentcd99df8d6781c3f0a191d119ea0ddf8c4a16089f (diff)
v0.1.0
Diffstat (limited to 'static/nposts.html')
-rw-r--r--static/nposts.html65
1 files changed, 0 insertions, 65 deletions
diff --git a/static/nposts.html b/static/nposts.html
deleted file mode 100644
index 336edb6..0000000
--- a/static/nposts.html
+++ /dev/null
@@ -1,65 +0,0 @@
-{{ define "header" }}
-<title>{{ .Title }}</title>
-<meta name="description" content="{{ .Board.Summary }}">
-<meta property="og:url" content="{{ .Board.Actor.Id }}">
-<meta property="og:site_name" content="{{ .Instance.PreferredUsername }}" />
-
-<meta property="og:title" content="{{ .Title }}">
-<meta property="og:description" content="{{ .Board.Summary }}">
-
-<meta name="twitter:title" content="{{ .Title }}">
-<meta name="twitter:description" content="{{ .Board.Summary }}">
-<meta name="twitter:card" content="summary_large_image">
-{{ end }}
-
-{{ define "content" }}
-{{ $board := .Board }}
-<hr>
-<ul id="navlinks">
- <li>[<a href="/{{ $board.Name }}/catalog">Catalog</a>]</li>
- {{ if showArchive }}
- <li>[<a href="/{{ $board.Name }}/archive">Archive</a>]</li>
- {{ end }}
- <li>[<a href="#bottom">Bottom</a>]</li>
- <li>[<a href="javascript:location.reload()">Refresh</a>]</li>
-</ul>
-
-{{ template "posts" . }}
-
-<hr>
-
-<ul id="navlinks">
- <li>[<a href="/{{ $board.Name }}/catalog">Catalog</a>]</li>
- {{ if showArchive }}
- <li>[<a href="/{{ $board.Name }}/archive">Archive</a>]</li>
- {{ end }}
- <li>[<a href="#top" id="bottom">Top</a>]</li>
- <li>[<a href="javascript:location.reload()">Refresh</a>]</li>
-</ul>
-
-<hr>
-{{ if gt .TotalPage 0 }}
-{{ $totalPage := .TotalPage }}
-<ul style="float: right; margin: 0; padding: 0; display: inline">
- {{ $page := .CurrentPage }}
- {{ if gt $page 0 }}
- <li style="display: inline">[<a href="/{{ $board.Name }}?page={{ sub $page 1 }}">&lt;</a>]</li>
- {{ end }}
- {{ range $i, $e := .Pages }}
- {{ if eq $i $page}}
- <li style="display: inline">[<a href="/{{ $board.Name }}?page={{ $i }}"><b>{{ $i }}</b></a>]</li>
- {{ else }}
- <li style="display: inline">[<a href="/{{ $board.Name }}?page={{ $i }}">{{ $i }}</a>]</li>
- {{ end }}
- {{ end }}
- {{ if lt .CurrentPage .TotalPage }}
- <li style="display: inline">[<a href="/{{ $board.Name }}?page={{ add $page 1 }}">&gt;</a>]</li>
- {{ end }}
-</ul>
-{{ end }}
-{{ end }}
-
-{{ define "script" }}
-<script src="/static/js/posts.js"></script>
-<script src="/static/js/footerscript.js"></script>
-{{ end }}