aboutsummaryrefslogtreecommitdiff
path: root/renderer
diff options
context:
space:
mode:
Diffstat (limited to 'renderer')
-rw-r--r--renderer/model.go13
-rw-r--r--renderer/renderer.go2
2 files changed, 15 insertions, 0 deletions
diff --git a/renderer/model.go b/renderer/model.go
index 4d09338..e7cfbfb 100644
--- a/renderer/model.go
+++ b/renderer/model.go
@@ -62,6 +62,19 @@ type TimelineData struct {
PrevLink string
}
+type ListsData struct {
+ *CommonData
+ Lists []*mastodon.List
+}
+
+type ListData struct {
+ *CommonData
+ List *mastodon.List
+ Accounts []*mastodon.Account
+ Q string
+ SearchAccounts []*mastodon.Account
+}
+
type ThreadData struct {
*CommonData
Statuses []*mastodon.Status
diff --git a/renderer/renderer.go b/renderer/renderer.go
index 0d6776c..20a3c05 100644
--- a/renderer/renderer.go
+++ b/renderer/renderer.go
@@ -19,6 +19,8 @@ const (
NavPage = "nav.tmpl"
RootPage = "root.tmpl"
TimelinePage = "timeline.tmpl"
+ ListsPage = "lists.tmpl"
+ ListPage = "list.tmpl"
ThreadPage = "thread.tmpl"
QuickReplyPage = "quickreply.tmpl"
NotificationPage = "notification.tmpl"