# Show navi for twitter-bootstrap theme # # Copyright (c) KAOD Masanori # You can redistribute it and/or modify it under GPL. def bootstrap_navi(options = {}) default_options = { :navbar_class => nil, :site_name? => true, :search_form? => true } options = default_options.merge(options) body = "" if options[:site_name?] body += <<-EOS #{h @conf.html_title} EOS end body += <<-EOS EOS if options[:search_form?] body += <<-EOS EOS end <<-EOS EOS end add_header_proc do %Q|| end