feat(pages): populate pages in publisher for site generation
This commit is contained in:
parent
255fa26a15
commit
d464821a8c
2 changed files with 8 additions and 0 deletions
|
|
@ -18,4 +18,5 @@ type Site struct {
|
|||
Categories []models.CategoryWithCount
|
||||
PostIterByCategory func(ctx context.Context, categoryID int64) iter.Seq[models.Maybe[*models.Post]]
|
||||
CategoriesOfPost func(ctx context.Context, postID int64) ([]*models.Category, error)
|
||||
Pages []*models.Page
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue