Versions in this module Expand all Collapse all v0 v0.4.0 Feb 22, 2015 Changes in this version + var CompilerPaths = map[Compiler][]string + var Compilers = []Compiler + var HtmlTemplatesCompiler = HtmlTemplatesCompilerType + var JadeCompiler = JadeCompilerType + var PostLayoutCompilers []PostLayoutCompiler + var PostsCompiler = PostsCompilerType + var SassCompiler = SassCompilerType + var UnmatchedPaths = []string + func CompileAll() error + func FileChanged(srcPath string, ev *fsnotify.FileEvent) error + func FindPaths(mf MatchFunc) ([]string, error) + func RemoveAllOld() error + type Compiler interface + Compile func(srcPath string) error + CompileAll func(srcPaths []string) error + CompileMatchFunc func() MatchFunc + FileChanged func(srcPath string, ev *fsnotify.FileEvent) error + RemoveOld func() error + WatchMatchFunc func() MatchFunc + type HtmlTemplatesCompilerType struct + func (c *HtmlTemplatesCompilerType) Compile(srcPath string) error + func (c *HtmlTemplatesCompilerType) CompileAll(srcPaths []string) error + func (c *HtmlTemplatesCompilerType) CompileMatchFunc() MatchFunc + func (c *HtmlTemplatesCompilerType) FileChanged(srcPath string, ev *fsnotify.FileEvent) error + func (c *HtmlTemplatesCompilerType) Init() + func (c *HtmlTemplatesCompilerType) PostLayoutMatchFunc() MatchFunc + func (c *HtmlTemplatesCompilerType) RemoveOld() error + func (c *HtmlTemplatesCompilerType) RenderPost(post *Post, destPath string) error + func (c *HtmlTemplatesCompilerType) WatchMatchFunc() MatchFunc + type Initer interface + Init func() + type JadeCompilerType struct + func (*JadeCompilerType) CompileMatchFunc() MatchFunc + func (*JadeCompilerType) WatchMatchFunc() MatchFunc + func (c *JadeCompilerType) PostLayoutMatchFunc() MatchFunc + func (c *JadeCompilerType) RenderPost(post *Post, destPath string) error + func (j *JadeCompilerType) Compile(srcPath string) error + func (j *JadeCompilerType) CompileAll(srcPaths []string) error + func (j *JadeCompilerType) FileChanged(srcPath string, ev *fsnotify.FileEvent) error + func (j *JadeCompilerType) RemoveOld() error + type MatchFunc func(path string) (bool, error) + type Post struct + Author string + Content template.HTML + Date time.Time + Description string + LayoutCompiler PostLayoutCompiler + LayoutName string + Title string + Url template.URL + func Posts(limit ...int) []*Post + type PostLayoutCompiler interface + PostLayoutMatchFunc func() MatchFunc + RenderPost func(post *Post, destPath string) error + type PostsByDate []*Post + func (p PostsByDate) Len() int + func (p PostsByDate) Less(i, j int) bool + func (p PostsByDate) Swap(i, j int) + type PostsCompilerType struct + func (p *PostsCompilerType) Compile(srcPath string) error + func (p *PostsCompilerType) CompileAll(srcPaths []string) error + func (p *PostsCompilerType) CompileMatchFunc() MatchFunc + func (p *PostsCompilerType) FileChanged(srcPath string, ev *fsnotify.FileEvent) error + func (p *PostsCompilerType) Init() + func (p *PostsCompilerType) RemoveOld() error + func (p *PostsCompilerType) WatchMatchFunc() MatchFunc + type SassCompilerType struct + func (s *SassCompilerType) Compile(srcPath string) error + func (s *SassCompilerType) CompileAll(srcPaths []string) error + func (s *SassCompilerType) CompileMatchFunc() MatchFunc + func (s *SassCompilerType) FileChanged(srcPath string, ev *fsnotify.FileEvent) error + func (s *SassCompilerType) RemoveOld() error + func (s *SassCompilerType) WatchMatchFunc() MatchFunc