Skip to content

Commit 1a5d1ee

Browse files
Remove banner from index.rhtml
The banner on the index page contains superfluous and even misleading information. The project name should be conveyed by the page title and logo, and the project version should be conveyed by the page title and version badge. Furthermore, the "Last modified" time is the mtime of the file on disk, unrelated to the time of the last commit for the file or even for the branch as a whole. This commit removes the banner from the index page for a cleaner appearance.
1 parent c5d2c01 commit 1a5d1ee

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

lib/rdoc/generator/template/rails/index.rhtml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,6 @@
1313

1414
<%= include_template '_panel.rhtml' %>
1515

16-
<div class="banner">
17-
<% if project_name %>
18-
<div>
19-
<%= project_name %>
20-
<span title="<%= project_git_head %>"><%= project_version %></span>
21-
</div>
22-
<% end %>
23-
24-
<h2>
25-
<%= h index.name %>
26-
</h2>
27-
<ul class="files">
28-
<li><%= h index.relative_name %></li>
29-
<li>Last modified: <%= index.last_modified %></li>
30-
</ul>
31-
</div>
32-
3316
<main id="bodyContent">
3417
<%= include_template '_context.rhtml', {:context => index } %>
3518
</main>

0 commit comments

Comments
 (0)