mix grf.new.page (Griffin v0.4.2)

View Source

Generates a new Markdown page with relevant front matter attributes.

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

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

Options

  • --title - the title parameter in the frontmatter. Defaults to the filename.

  • --draft - marks the file as a draft in the frontmatter.