Documentation
¶
Overview ¶
package build creates in-memory HTML documents for use by the server & build commands.
In its simplest form, our View type contains a reference to the contents of a markdown file and contains implementations for methods that create a document using one of the following:
- a template in its frontmatter
- a template with the same name as the file (sans extensions)
- the base template
Then executes (renders) the template by placing it in some stream, be it file, stdout or stderr.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BuildCommand = &cli.Command{ Name: "build", Usage: "build your site to your configured directory (defaults to dist)", Flags: config.BuildFlags(true), Action: Run, }
View Source
var BuildLogger *log.Logger = logs.CreateConsoleLogger("[build]")
View Source
var ScriptFile string
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.