The backend for the AiteStory website
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
342 B

  1. package viewmodel
  2. import "git.aiterp.net/AiteRP/aitestory/model"
  3. // IndexBase is used for the index menu.
  4. type IndexBase struct {
  5. Categories []model.PageCategory
  6. ActiveTag model.Tag
  7. ActiveAuthor string
  8. ActiveDate string
  9. ActiveDatePath string
  10. }
  11. func (im *IndexBase) setupMenu() {
  12. im.Categories = model.PageCategories
  13. }