Commit 83e1e52a authored by f's avatar f
Browse files

add the title to the post

parent bfbba50f
......@@ -35,6 +35,8 @@ module Sutty
@data = Hash[(data_layout.keys - CONTENT_FIELDS).map { |k| [k, nil] }]
# Required fields
@data['title'] = options[:title]
@data['layout'] = options[:layout]
@data['uuid'] = SecureRandom.uuid
@data['liquid'] = false
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment