Skip to content

Commit 656ccdc

Browse files
committed
Output meta tags in the generated HTML
1 parent 50d0f07 commit 656ccdc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/rdoc/generator/template/darkfish/_head.rhtml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
<title><%= h @title %></title>
44

5+
<%- @options.meta_tags.each do |name, content| -%>
6+
<meta name="<%= h name %>" content="<%= h content %>">
7+
<%- end -%>
8+
59
<script type="text/javascript">
610
var rdoc_rel_prefix = "<%= h asset_rel_prefix %>/";
711
var index_rel_prefix = "<%= h rel_prefix %>/";

0 commit comments

Comments
 (0)