mix serum.gen.page (serum v1.5.1) View Source
Adds a new page to the current project.
mix serum.gen.page (-t|--title) TITLE (-o|--output) OUTPUT [Options]
Required Options
-t(--title)
(string): Title of the new page.-o(--output)
(string): The path where the new page will be saved, relative topages/
directory. It must end with one of.md
,.html
, or.html.eex
.
Other Options
-l(--label)
(string): Label of the new page. Defaults to the page title.-g(--group)
(string): Name of a group the new page belongs to.-r(--order)
(integer): The order of the new page in a group. Defaults to0
.