Wewt! Deployment is now working! Fully working git-blog skellingtonage, in one day...
[git-blog.git] / lib / git-blog / core.rb
blob68c69313c40cdda1fd330d805f6bbe3c825dfe47
1 require 'rubygems'
2 require 'git' # Ruby/Git
3 require 'git-blog/core_ext'
5 module GitBlog
6   TitleRegexen = {
7     'xhtml'     => /^<[^>]+>(.*)<[^>]+>$/,
8     'haml'      => /^%[^\s\{]+(?:\{[^\}]\})? (.*)$/,
9     'textile'   => /^h\d(?:[^\s\{]|\{[^\}]*\})*\. (.*)$/,
10     'markdown'  => /^(.*)$/ # Also works for other
11   }
12   
13   Location = File.expand_path( File.dirname(__FILE__) / '..' / '..')
14 end
16 require 'git-blog/parsers'