Added page about instance

This commit is contained in:
localhost_frssoft 2022-10-12 13:34:41 +03:00
parent fe304f60e9
commit 7dd90ac015
7 changed files with 81 additions and 0 deletions

View file

@ -119,6 +119,11 @@ type AboutData struct {
*CommonData
}
type AboutInstanceData struct {
*CommonData
Instance *mastodon.Instance
}
type EmojiData struct {
*CommonData
Emojis []*mastodon.Emoji

View file

@ -27,6 +27,7 @@ const (
UserPage = "user.tmpl"
UserSearchPage = "usersearch.tmpl"
AboutPage = "about.tmpl"
AboutInstance = "aboutinstance.tmpl"
EmojiPage = "emoji.tmpl"
LikedByPage = "likedby.tmpl"
RetweetedByPage = "retweetedby.tmpl"