Add filters

This commit is contained in:
r 2021-01-30 16:51:09 +00:00
parent 3ac95ab3b1
commit 4f1425febf
8 changed files with 158 additions and 0 deletions

View file

@ -127,3 +127,8 @@ type SettingsData struct {
Settings *model.Settings
PostFormats []model.PostFormat
}
type FiltersData struct {
*CommonData
Filters []*mastodon.Filter
}

View file

@ -29,6 +29,7 @@ const (
RetweetedByPage = "retweetedby.tmpl"
SearchPage = "search.tmpl"
SettingsPage = "settings.tmpl"
FiltersPage = "filters.tmpl"
)
type TemplateData struct {