aboutsummaryrefslogtreecommitdiff
path: root/renderer
diff options
context:
space:
mode:
Diffstat (limited to 'renderer')
-rw-r--r--renderer/model.go15
1 files changed, 9 insertions, 6 deletions
diff --git a/renderer/model.go b/renderer/model.go
index 0505c0b..93cbbc6 100644
--- a/renderer/model.go
+++ b/renderer/model.go
@@ -14,6 +14,7 @@ type Context struct {
CSRFToken string
UserID string
AntiDopamineMode bool
+ Referrer string
}
type NavData struct {
@@ -23,12 +24,12 @@ type NavData struct {
}
type CommonData struct {
- Title string
- CustomCSS string
- CSRFToken string
- Count int
- AutoRefresh bool
- Target string
+ Title string
+ CustomCSS string
+ CSRFToken string
+ Count int
+ RefreshInterval int
+ Target string
}
type ErrorData struct {
@@ -51,6 +52,8 @@ type RootData struct {
type TimelineData struct {
*CommonData
Title string
+ Type string
+ Instance string
Statuses []*mastodon.Status
NextLink string
PrevLink string