mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2024-12-25 00:48:53 -05:00
commit
ab36801d1f
2
Rakefile
2
Rakefile
@ -76,7 +76,7 @@ task :new_post, :title do |t, args|
|
|||||||
end
|
end
|
||||||
|
|
||||||
# usage rake new_page[my-new-page] or rake new_page[my-new-page.html] or rake new_page (defaults to "new-page.markdown")
|
# usage rake new_page[my-new-page] or rake new_page[my-new-page.html] or rake new_page (defaults to "new-page.markdown")
|
||||||
desc "Begin a new post in #{source_dir}/#{posts_dir}"
|
desc "Create a new page in #{source_dir}/(filename)/index.#{new_page_ext}"
|
||||||
task :new_page, :filename do |t, args|
|
task :new_page, :filename do |t, args|
|
||||||
require './plugins/titlecase.rb'
|
require './plugins/titlecase.rb'
|
||||||
args.with_defaults(:filename => 'new-page')
|
args.with_defaults(:filename => 'new-page')
|
||||||
|
Loading…
Reference in New Issue
Block a user