public
Description: git-based blog engine
Homepage: http://www.matthias-georgi.de/shinmun
Clone URL: git://github.com/georgi/shinmun.git
shinmun / config.ru
100644 17 lines (12 sloc) 0.295 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
require 'shinmun'
 
use Rack::Session::Cookie
use Rack::Reloader
 
blog = Shinmun::Blog.new(File.dirname(__FILE__))
 
blog.config = {
  :language => 'en',
  :title => "Blog Title",
  :author => "The Author",
  :categories => ["Ruby", "Javascript"],
  :description => "Blog description"
}
 
run blog