Skip to content

Commit 6e91f31

Browse files
committed
Add meta for YARD pages
1 parent 049cb8d commit 6e91f31

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

app/views/layouts/yard.html.erb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<title><%= [@title, Rubydoc.config.name].compact.join(" – ") %></title>
4+
<%= content_for :title do %>
5+
<%= h [@title, Rubydoc.config.name].compact.join(" – ") %>
6+
<% end %>
7+
<%= render "layouts/meta" %>
58
<%= yield :head %>
69
<% if request.path.starts_with? "/list" %>
710
<link rel="stylesheet" href="/assets/css/full_list.css" type="text/css" media="screen" charset="utf-8" />

0 commit comments

Comments
 (0)