From 5b52d269faa2ce2014d0feba603a2122361cf4eb Mon Sep 17 00:00:00 2001 From: FChannel <> Date: Fri, 29 Apr 2022 10:36:43 -0700 Subject: general layout organization --- views/npost.html | 80 ++++++++++++++++++++++---------------------------------- 1 file changed, 31 insertions(+), 49 deletions(-) (limited to 'views/npost.html') diff --git a/views/npost.html b/views/npost.html index 5a382ed..07de021 100644 --- a/views/npost.html +++ b/views/npost.html @@ -1,33 +1,13 @@ -{{ define "header" }} -/{{ .Board.Name }}/ - {{ .PostId }} - - - - - - - - - - - -{{ if (index .Posts 0).Preview }} - - -{{ end }} -{{ end }} - {{ template "partials/top" .page }} -{{ $board := .Board }} -
+ +
{{ template "partials/posts" .page }} @@ -35,32 +15,34 @@
- - - {{ if eq (index .page.Posts 0).Type "Note" }} - - {{ end }} - - -
- - - [Post a Reply] - - {{ $replies := (index .page.Posts 0).Replies }} - {{ $replies.TotalItems }} / {{ $replies.TotalImgs }} -
+ + + + + + {{ if eq (index .page.Posts 0).Type "Note" }} + + [Post a Reply] + + {{ end }} + + + {{ $replies := (index .page.Posts 0).Replies }} + {{ $replies.TotalItems }} / {{ $replies.TotalImgs }} + + +
{{ template "partials/bottom" .page }} +{{ template "partials/footer" .page }} +{{ template "partials/general_scripts" .page }} +{{ template "partials/post_scripts" .page }} -{{ define "scripts" }} -{{ template "partials/postscripts" . }} -{{ end }} + -- cgit v1.2.3