templates/api/layout/html/layout.erb in yard-api-0.2.2 vs templates/api/layout/html/layout.erb in yard-api-0.2.3
- old
+ new
@@ -27,11 +27,12 @@
</div>
<% else %>
<div id="content"><%= yieldall %></div>
<% end %>
- <%= erb(:footer) %>
- <%= erb(:scripts) %>
+ <% if api_options.show_footer %>
+ <%= erb(:footer) %>
+ <% end %>
<% inline_javascripts.each do |script| %>
<%= erb(script) %>
<% end %>
</body>