diff options
Diffstat (limited to 'renderer')
-rw-r--r-- | renderer/model.go | 5 | ||||
-rw-r--r-- | renderer/renderer.go | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/renderer/model.go b/renderer/model.go index 6c3ba90..93cbbc6 100644 --- a/renderer/model.go +++ b/renderer/model.go @@ -66,6 +66,11 @@ type ThreadData struct { ReplyMap map[string][]mastodon.ReplyInfo } +type StatusData struct { + *CommonData + Status *mastodon.Status +} + type NotificationData struct { *CommonData Notifications []*mastodon.Notification diff --git a/renderer/renderer.go b/renderer/renderer.go index 3d4685f..724178e 100644 --- a/renderer/renderer.go +++ b/renderer/renderer.go @@ -20,6 +20,7 @@ const ( RootPage = "root.tmpl" TimelinePage = "timeline.tmpl" ThreadPage = "thread.tmpl" + StatusPopup = "status.tmpl" NotificationPage = "notification.tmpl" UserPage = "user.tmpl" UserSearchPage = "usersearch.tmpl" |