mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2025-05-03 10:28:46 +00:00
Refactor
This commit is contained in:
parent
6ddcb16694
commit
6c5de76562
5 changed files with 369 additions and 433 deletions
|
@ -17,12 +17,6 @@ type Context struct {
|
|||
Referrer string
|
||||
}
|
||||
|
||||
type NavData struct {
|
||||
CommonData *CommonData
|
||||
User *mastodon.Account
|
||||
PostContext model.PostContext
|
||||
}
|
||||
|
||||
type CommonData struct {
|
||||
Title string
|
||||
CustomCSS string
|
||||
|
@ -32,6 +26,12 @@ type CommonData struct {
|
|||
Target string
|
||||
}
|
||||
|
||||
type NavData struct {
|
||||
CommonData *CommonData
|
||||
User *mastodon.Account
|
||||
PostContext model.PostContext
|
||||
}
|
||||
|
||||
type ErrorData struct {
|
||||
*CommonData
|
||||
Error string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue