lib/rdoc/generator/template/rails/class.rhtml in sdoc-2.0.0 vs lib/rdoc/generator/template/rails/class.rhtml in sdoc-2.0.1
- old
+ new
@@ -11,13 +11,10 @@
<% human_desc = truncate(strip_tags(description.gsub("\n", " ").strip)) %>
<meta name="description" content="<%= human_desc %>">
<meta property="og:description" content="<%= human_desc %>">
<% end %>
- <meta name="keywords" content="<%= klass.full_name %> class">
- <% unless klass.method_list.empty? %>
- <meta name="keywords" content="<%= klass.method_list.map(&:name).join(", ") %>">
- <% end %>
+ <meta name="keywords" content="<%= klass.full_name %> class, <%= klass.method_list.map(&:name).join(", ") %>">
</head>
<body>
<%= include_template '_panel.rhtml' %>