-<%- if @options.main_page and - main_page = @files.find { |f| f.full_name == @options.main_page } then %> -<%= main_page.description %> +<%- if @main_page %> + <%= @main_page.description %> <%- else -%> -

This is the API documentation for <%= h @title %>. +

This is the API documentation for <%= h @title %>. <%- end -%>