First cut of the link fields

This commit is contained in:
Leon Mika 2025-03-02 10:46:36 +11:00
parent c5925e16e0
commit 38ebb21a34
8 changed files with 145 additions and 35 deletions

View file

@ -89,6 +89,7 @@ func (s *Service) Save(ctx context.Context, site models.Site, post *models.Post)
}
type NewPost struct {
Title string
Body string
Title string `json:"title" form:"title"`
Body string `json:"body" form:"body"`
Params map[string]string `json:"params" form:"params"`
}