public
Rubygem
Description: A lightweight and flexible website management system.
Homepage: http://webby.rubyforge.org/
Clone URL: git://github.com/TwP/webby.git
Search Repo:
adding todo note
TwP (author)
Fri Jan 04 09:54:57 -0800 2008
commit  d73800ea846845ffd3548d4dadbff7517dfb930c
tree    7b4f1424a11284e676964248c4ba52a5a7196c19
parent  78910e43c0963867ea8a8767a169ace61a9401d6
...
87
88
89
 
 
 
90
91
92
...
87
88
89
90
91
92
93
94
95
0
@@ -87,6 +87,9 @@ class WebbyTask < TaskLib
0
       task name do |t|
0
         raise "Usage: rake #{t.name} path" unless ARGV.length == 2
0
 
0
+ # TODO: add ability to create only index.html pages
0
+ # this behavior would create a directory using the given page
0
+ # name, and then create an index.txt file in that directory
0
         page = t.application.top_level_tasks.pop
0
         page = File.join(::Webby.site.content_dir, page)
0
         page << '.txt' if File.extname(page).empty?

Comments

    No one has commented yet.