aboutsummaryrefslogtreecommitdiff
path: root/renderer
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2023-10-01 13:04:07 +0000
committerr <r@freesoftwareextremist.com>2023-10-01 13:04:07 +0000
commit81bdc7c705d5d21f62927167d5b2c8e4932c9570 (patch)
tree8bdd670af920ac0541391366b5711462d9df0fab /renderer
parent8e3999fc3d9761f9ce71c35a7154a77c251caa66 (diff)
downloadbloat-81bdc7c705d5d21f62927167d5b2c8e4932c9570.tar.gz
bloat-81bdc7c705d5d21f62927167d5b2c8e4932c9570.zip
Add profile edit page
Diffstat (limited to 'renderer')
-rw-r--r--renderer/model.go5
-rw-r--r--renderer/renderer.go1
2 files changed, 6 insertions, 0 deletions
diff --git a/renderer/model.go b/renderer/model.go
index 8311f58..e43279d 100644
--- a/renderer/model.go
+++ b/renderer/model.go
@@ -156,6 +156,11 @@ type FiltersData struct {
Filters []*mastodon.Filter
}
+type ProfileData struct {
+ *CommonData
+ User *mastodon.Account
+}
+
type MuteData struct {
*CommonData
User *mastodon.Account
diff --git a/renderer/renderer.go b/renderer/renderer.go
index 7732554..c93a611 100644
--- a/renderer/renderer.go
+++ b/renderer/renderer.go
@@ -33,6 +33,7 @@ const (
SearchPage = "search.tmpl"
SettingsPage = "settings.tmpl"
FiltersPage = "filters.tmpl"
+ ProfilePage = "profile.tmpl"
MutePage = "mute.tmpl"
)