mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2025-05-03 10:28:46 +00:00
Add lists
This commit is contained in:
parent
c2f237e901
commit
c390a0c327
13 changed files with 322 additions and 33 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue