aboutsummaryrefslogtreecommitdiff
path: root/renderer
diff options
context:
space:
mode:
Diffstat (limited to 'renderer')
-rw-r--r--renderer/model.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/renderer/model.go b/renderer/model.go
index aed444a..6b27998 100644
--- a/renderer/model.go
+++ b/renderer/model.go
@@ -17,12 +17,6 @@ type Context struct {
Referrer string
}
-type NavData struct {
- CommonData *CommonData
- User *mastodon.Account
- PostContext model.PostContext
-}
-
type CommonData struct {
Title string
CustomCSS string
@@ -32,6 +26,12 @@ type CommonData struct {
Target string
}
+type NavData struct {
+ CommonData *CommonData
+ User *mastodon.Account
+ PostContext model.PostContext
+}
+
type ErrorData struct {
*CommonData
Error string