Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WebsiteGeneratorConfig ¶
type WebsiteGeneratorConfig struct { // IsProd value indicates whether the generator is running in production // environment. If it is, draft stories won't be included in the generated // website. IsProd bool StoriesDir string StaticDir string RobotsTxtPath string // OutputDir indicates output directory for the website files. At the end of // the execution output will be set up in a way that can be used on pretty // much any static website hosting. OutputDir string IndexTemplate *template.Template DetailsTemplate *template.Template RSSFeedConfiguration rss.FeedConfiguration }
func (*WebsiteGeneratorConfig) GenerateWebsite ¶
func (c *WebsiteGeneratorConfig) GenerateWebsite()
Click to show internal directories.
Click to hide internal directories.