diff options
author | r <r@freesoftwareextremist.com> | 2021-01-30 16:51:09 +0000 |
---|---|---|
committer | r <r@freesoftwareextremist.com> | 2021-01-30 16:53:57 +0000 |
commit | 4f1425febf6efb45eaf91aff19b215b8c7e77bec (patch) | |
tree | b6b72093906cac8c98ef9d593eed62214c3b5ceb /renderer | |
parent | 3ac95ab3b117ee8867a30c8e4b30ab37411e5ccf (diff) | |
download | bloat-4f1425febf6efb45eaf91aff19b215b8c7e77bec.tar.gz bloat-4f1425febf6efb45eaf91aff19b215b8c7e77bec.zip |
Add filters
Diffstat (limited to 'renderer')
-rw-r--r-- | renderer/model.go | 5 | ||||
-rw-r--r-- | renderer/renderer.go | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/renderer/model.go b/renderer/model.go index 6c3ba90..aed444a 100644 --- a/renderer/model.go +++ b/renderer/model.go @@ -127,3 +127,8 @@ type SettingsData struct { Settings *model.Settings PostFormats []model.PostFormat } + +type FiltersData struct { + *CommonData + Filters []*mastodon.Filter +} diff --git a/renderer/renderer.go b/renderer/renderer.go index 3d4685f..067632f 100644 --- a/renderer/renderer.go +++ b/renderer/renderer.go @@ -29,6 +29,7 @@ const ( RetweetedByPage = "retweetedby.tmpl" SearchPage = "search.tmpl" SettingsPage = "settings.tmpl" + FiltersPage = "filters.tmpl" ) type TemplateData struct { |