lib/rdoc/generator/template/darkfish/index.rhtml in rdoc-3.12.2 vs lib/rdoc/generator/template/darkfish/index.rhtml in rdoc-4.0.0.preview2

- old
+ new

@@ -8,12 +8,12 @@ <%= render '_sidebar_pages.rhtml' %> <%= render '_sidebar_classes.rhtml' %> </div> </nav> -<% if @options.main_page && main_page = @files.find { |f| f.full_name == @options.main_page } then %> <div id="documentation" class="description"> - <%= main_page.description %> -</div> +<% if @options.main_page && main_page = @files.find { |f| f.full_name == @options.main_page } then %> +<%= main_page.description %> <% else %> <p>This is the API documentation for <%= @title %>. <% end %> +</div>