File tree Expand file tree Collapse file tree 7 files changed +9
-9
lines changed Expand file tree Collapse file tree 7 files changed +9
-9
lines changed File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
< title > <%= h page_title %> </ title >
2
2
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
3
3
< meta name ="description " content ="<%= h page_description %> " />
4
- <% if @search %>
4
+ <% if @search || controller_name == "errors" %>
5
5
< meta name ="robots " content ="noindex, nofollow ">
6
6
<% else %>
7
7
< meta name ="robots " content ="index, follow ">
Original file line number Diff line number Diff line change 1
- <% if controller_name != 'yard' %>
1
+ <% unless [ 'yard', 'errors'].include?(controller_name) %>
2
2
<nav class ="tabbed-links ">
3
3
<% nav_links . each do |title , link | %>
4
4
<% if "/#{ controller_name } " == link %>
Original file line number Diff line number Diff line change 1
1
<!DOCTYPE html>
2
2
< html >
3
3
< head >
4
- <%= render "shared /meta" %>
4
+ <%= render "layouts /meta" %>
5
5
<%= csrf_meta_tags %>
6
6
<%= csp_meta_tag %>
7
7
<%= yield :head %>
14
14
< link rel ="stylesheet " href ="/assets/css/style.css " type ="text/css " media ="screen " charset ="utf-8 " />
15
15
< link rel ="stylesheet " href ="/assets/css/custom.css " type ="text/css " media ="screen " charset ="utf-8 " />
16
16
<%= javascript_importmap_tags %>
17
- <%= render "shared /analytics" %>
17
+ <%= render "layouts /analytics" %>
18
18
</ head >
19
19
< body class ="root ">
20
20
<% if controller_name == "github" && request . referrer . blank? %>
23
23
<% if %w[ featured stdlib gems github ] . include? ( controller_name ) %>
24
24
< span data-controller ="path-saver " data-path ="<%= controller_name %> "> </ span >
25
25
<% end %>
26
- <%= render 'shared /header' %>
26
+ <%= render 'layouts /header' %>
27
27
<%= turbo_frame_tag "modal" %>
28
28
< div id ="content ">
29
- <%= render 'shared /nav' %>
29
+ <%= render 'layouts /nav' %>
30
30
<%= yield %>
31
31
</ div >
32
- <%= render 'shared /footer' %>
32
+ <%= render 'layouts /footer' %>
33
33
</ body >
34
34
</ html >
Original file line number Diff line number Diff line change 1
1
<!DOCTYPE html>
2
2
< html >
3
3
< head >
4
- < title > <%= [ @title , content_for ( :title ) || Rubydoc . config . name ] . compact . join ( " – " ) %> </ title >
4
+ < title > <%= [ @title , Rubydoc . config . name ] . compact . join ( " – " ) %> </ title >
5
5
<%= yield :head %>
6
6
<% if request . path . starts_with? "/list" %>
7
7
< link rel ="stylesheet " href ="/assets/css/full_list.css " type ="text/css " media ="screen " charset ="utf-8 " />
13
13
< link rel ="stylesheet " href ="/assets/css/custom.css " type ="text/css " media ="screen " charset ="utf-8 " />
14
14
<% end %>
15
15
< link rel ="stylesheet " href ="/assets/css/common.css " type ="text/css " media ="screen " charset ="utf-8 " />
16
- <%= render "shared /analytics" %>
16
+ <%= render "layouts /analytics" %>
17
17
</ head >
18
18
< body >
19
19
<%= yield %>
You can’t perform that action at this time.
0 commit comments