lib/mado/app.rb in mado-0.2.0 vs lib/mado/app.rb in mado-0.2.1
- old
+ new
@@ -13,9 +13,10 @@
@markdown_dir ||= File.dirname(settings.markdown_path)
end
end
get '/' do
+ @page_title = File.basename(settings.markdown_path)
slim :index
end
get "/css/application.css" do
sass :application