{% import "git.sr.ht/~gabrielgio/img/pkg/database/repository" %} {% code type MediaPage struct { Medias []*repository.Media Next *repository.Pagination } %} {% func (p *MediaPage) Title() %}Media{% endfunc %} {% func (p *MediaPage) Content() %}