aboutsummaryrefslogtreecommitdiff
path: root/renderer
diff options
context:
space:
mode:
Diffstat (limited to 'renderer')
-rw-r--r--renderer/model.go5
-rw-r--r--renderer/renderer.go1
2 files changed, 6 insertions, 0 deletions
diff --git a/renderer/model.go b/renderer/model.go
index 4d09338..385ac7c 100644
--- a/renderer/model.go
+++ b/renderer/model.go
@@ -76,6 +76,11 @@ type QuickReplyData struct {
PostContext model.PostContext
}
+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 0d6776c..f50e185 100644
--- a/renderer/renderer.go
+++ b/renderer/renderer.go
@@ -21,6 +21,7 @@ const (
TimelinePage = "timeline.tmpl"
ThreadPage = "thread.tmpl"
QuickReplyPage = "quickreply.tmpl"
+ StatusPopup = "status.tmpl"
NotificationPage = "notification.tmpl"
UserPage = "user.tmpl"
UserSearchPage = "usersearch.tmpl"