lib/serious.rb in serious-0.3.1 vs lib/serious.rb in serious-0.3.2
- old
+ new
@@ -16,10 +16,11 @@
class Serious < Sinatra::Base
set :articles, Proc.new { File.join(Dir.getwd, 'articles') }
set :pages, Proc.new { File.join(Dir.getwd, 'pages') }
set :static, true # Required to serve static files, see http://www.sinatrarb.com/configuration.html
+ set :future, false
not_found do
erb :"404"
end
@@ -104,7 +105,6 @@
Serious.set :run, false
Serious.set :environment, :test
Serious.set :date_format, "%B %o %Y"
Serious.set :disqus, false
Serious.set :google_analytics, false
-Serious.set :feed_url, '/atom.xml'
-
+Serious.set :feed_url, '/atom.xml'
\ No newline at end of file