Documentation ¶
Index ¶
Constants ¶
View Source
const MainPage = "Main_Page"
Variables ¶
This section is empty.
Functions ¶
func WikiNavigationHTML ¶
func WikiNavigationHTML(slug, pageUrl string, rdx kevlar.ReadableRedux) (string, error)
Types ¶
type WikisSlugPageViewModel ¶
type WikisSlugPageViewModel struct { Slug string WikiName string PageTitle string PublishDate string UpdatedAt string Entities []template.HTML PrevPageTitle string PrevPageUrl string NextPageTitle string NextPageUrl string }
func NewWikiPageViewModel ¶
func NewWikiPageViewModel(slug, page string, rdx kevlar.ReadableRedux) *WikisSlugPageViewModel
type WikisSlugViewModel ¶
func NewWikiSlugViewModel ¶
func NewWikiSlugViewModel(slug string, rdx kevlar.ReadableRedux) (*WikisSlugViewModel, error)
func NewWikisViewModel ¶ added in v0.1.40
func NewWikisViewModel(order []string, titles map[string]string) (*WikisSlugViewModel, error)
Click to show internal directories.
Click to hide internal directories.