View Source mix grf.new.page (Griffin v0.2.0)

Generates a new Markdown page with relevant front matter attributes.

$ mix grf.gen.page PATH [--title TITLE]

A Markdown file will be created with the name at the specified path with the default metadata fields: title, date and draft.

options

Options

  • --title - the page title. Defaults to _site