<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>app/themes/default/assets/stylesheets/blurt.css</filename>
    </added>
    <added>
      <filename>app/themes/default/views/layouts/application.html.erb</filename>
    </added>
    <added>
      <filename>app/themes/default/views/posts/_post.html.erb</filename>
    </added>
    <added>
      <filename>app/themes/default/views/posts/index.html.erb</filename>
    </added>
    <added>
      <filename>app/themes/default/views/posts/index.rss.builder</filename>
    </added>
    <added>
      <filename>app/themes/default/views/posts/show.html.erb</filename>
    </added>
    <added>
      <filename>public/.gitignore</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,6 +1,7 @@
 application:
   host: localhost
   port: 3000
+  theme: default
 
 authentication:
   username: username</diff>
      <filename>config/blurt.yml.example</filename>
    </modified>
    <modified>
      <diff>@@ -1,2 +1,12 @@
 require &quot;#{RAILS_ROOT}/lib/configuration&quot;
-Configuration.from_file &quot;#{RAILS_ROOT}/config/blurt.yml&quot;
\ No newline at end of file
+Configuration.from_file &quot;#{RAILS_ROOT}/config/blurt.yml&quot;
+
+THEME_PATH = &quot;#{RAILS_ROOT}/app/themes/#{Configuration.application.theme}&quot;
+
+FileUtils.rm_rf(&quot;#{RAILS_ROOT}/public&quot;) if File.exist?(&quot;#{RAILS_ROOT}/public&quot;)
+File.symlink(&quot;#{THEME_PATH}/assets&quot;, &quot;#{RAILS_ROOT}/public&quot;)
+
+class ActionController::Base
+  self.view_paths = [ &quot;#{THEME_PATH}/views&quot; ]
+end
+</diff>
      <filename>config/initializers/application_configuration.rb</filename>
    </modified>
    <modified>
      <diff>@@ -23,6 +23,10 @@ class Configuration
       &quot;http://#{@configuration['host']}#{port_spec}/&quot;
     end
     
+    def theme
+      @configuration['theme']
+    end
+    
   end
   
   class Authentication</diff>
      <filename>lib/configuration.rb</filename>
    </modified>
    <modified>
      <diff>@@ -19,6 +19,11 @@ class ConfigurationTest &lt; ActiveSupport::TestCase
       assert_equal 'http://localhost/', configuration.base_url
     end
     
+    should &quot;have a :theme accessor&quot; do
+      configuration = Configuration::Application.new('host' =&gt; 'localhost', 'theme' =&gt; 'default')
+      assert_equal 'default', configuration.theme
+    end
+    
   end
   
   context &quot;An instance of the Configuration::Authentication class&quot; do</diff>
      <filename>test/unit/configuration_test.rb</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>app/views/layouts/application.html.erb</filename>
    </removed>
    <removed>
      <filename>app/views/posts/_post.html.erb</filename>
    </removed>
    <removed>
      <filename>app/views/posts/index.html.erb</filename>
    </removed>
    <removed>
      <filename>app/views/posts/index.rss.builder</filename>
    </removed>
    <removed>
      <filename>app/views/posts/show.html.erb</filename>
    </removed>
    <removed>
      <filename>public/404.html</filename>
    </removed>
    <removed>
      <filename>public/422.html</filename>
    </removed>
    <removed>
      <filename>public/500.html</filename>
    </removed>
    <removed>
      <filename>public/dispatch.cgi</filename>
    </removed>
    <removed>
      <filename>public/dispatch.fcgi</filename>
    </removed>
    <removed>
      <filename>public/dispatch.rb</filename>
    </removed>
    <removed>
      <filename>public/favicon.ico</filename>
    </removed>
    <removed>
      <filename>public/images/header-background.gif</filename>
    </removed>
    <removed>
      <filename>public/images/sneaq-logo.jpg</filename>
    </removed>
    <removed>
      <filename>public/javascripts/application.js</filename>
    </removed>
    <removed>
      <filename>public/javascripts/controls.js</filename>
    </removed>
    <removed>
      <filename>public/javascripts/dragdrop.js</filename>
    </removed>
    <removed>
      <filename>public/javascripts/effects.js</filename>
    </removed>
    <removed>
      <filename>public/javascripts/prototype.js</filename>
    </removed>
    <removed>
      <filename>public/robots.txt</filename>
    </removed>
    <removed>
      <filename>public/stylesheets/coderay.css</filename>
    </removed>
    <removed>
      <filename>public/stylesheets/global.css</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>5796ce82d372374f25fa90682c3d683851090f52</id>
    </parent>
  </parents>
  <author>
    <name>Patrick Reagan</name>
    <email>patrick.reagan@viget.com</email>
  </author>
  <url>http://github.com/reagent/blurt/commit/498fa205fc04cdd3ffb2b9b9ebe71758a83588b9</url>
  <id>498fa205fc04cdd3ffb2b9b9ebe71758a83588b9</id>
  <committed-date>2008-11-14T22:49:29-08:00</committed-date>
  <authored-date>2008-11-14T22:49:29-08:00</authored-date>
  <message>Added theming support and a lightweight default theme</message>
  <tree>4193b80b242ecb4865541ac9a08b3cd85a103f5a</tree>
  <committer>
    <name>Patrick Reagan</name>
    <email>patrick.reagan@viget.com</email>
  </committer>
</commit>
