From 48fefb76c0a908cc3fa00abc9c090ce3ac8cb560 Mon Sep 17 00:00:00 2001 From: FChannel <> Date: Sun, 24 Oct 2021 10:40:45 -0700 Subject: gofiber conversion, index, board posts, board post hooked up --- views/nposts.html | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 views/nposts.html (limited to 'views/nposts.html') diff --git a/views/nposts.html b/views/nposts.html new file mode 100644 index 0000000..ae5a9b6 --- /dev/null +++ b/views/nposts.html @@ -0,0 +1,70 @@ +{{ define "header" }} +{{ .Title }} + + + + + + + + + + +{{ end }} + +{{ template "partials/top" .page }} + +{{ $board := .page.Board }} +
+ + +{{ template "partials/posts" .page }} + +
+ + + +
+{{ if gt .page.TotalPage 0 }} +{{ $totalPage := .page.TotalPage }} + +{{ end }} + +{{ template "partials/bottom" .page }} + +{{ define "scripts" }} +{{ template "partials/postscripts" . }} +{{ end }} -- cgit v1.2.3