Skip to content

Commit 27c9bf4

Browse files
committed
drop "ebooks" template from all book sidebars
We dropped this from the main book page in git#983, but the template still appears in the individual section pages. The same rationale applies, and we should drop it everywhere. We can also drop the templates entirely (we may bring back the links later, but we can resurrect them at that time).
1 parent dd46c6b commit 27c9bf4

File tree

5 files changed

+0
-13
lines changed

5 files changed

+0
-13
lines changed

app/views/books/_ebooks.html.erb

-5
This file was deleted.

app/views/books/section.html.erb

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
<% @subsection = 'book' %>
33

44
<% content_for :sidebar do %>
5-
<%= render 'ebooks' %>
65
<%= render 'translations' %>
76
<%= render 'shared/related' %>
87
<% end %>

app/views/doc/_ebooks.html.erb

-5
This file was deleted.

app/views/doc/book.html.erb

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<%- @page_title = "Git - Book" %>
44

55
<% content_for :sidebar do %>
6-
<%= render 'ebooks' %>
76
<%= render 'translations' %>
87
<% end %>
98

app/views/doc/book_section.html.erb

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
<% @subsection = 'book' %>
33

44
<% content_for :sidebar do %>
5-
<%= render 'ebooks' %>
65
<%= render 'translations' %>
76
<%= render 'shared/related' %>
87
<% end %>

0 commit comments

Comments
 (0)