Logo: Relish

  1. Sign in

Project: Ruhoh

Drafts

Drafts allow you to create pages without having them published right away. Here are some usage examples.

Background
Given
a vanilla setup
Scenarios
can create a draft
When
I run ../bin/ruhoh draft
Then
the output contains "New draft"
And
I have 1 drafts in my drafts list
can create more than one draft
When
I run ../bin/ruhoh draft
When
I run ../bin/ruhoh draft
Then
I have 2 drafts in my drafts list
drafts are not published during compile
When
I run ../bin/ruhoh draft
When
I run ../bin/ruhoh compile
Then
the compiled site has no posts

Last published about 5 years ago by benbiddington.