Skip to content

Commit

Permalink
Can set the meta description from a paragraph.
Browse files Browse the repository at this point in the history
  • Loading branch information
Doug Youch committed Apr 20, 2010
1 parent ee36ebd commit 4626e46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/layouts/page.rhtml
Expand Up @@ -5,8 +5,8 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title><%= @cms_module_page_title || @output.title %></title>
<meta http-equiv='Content-Language' content='<%= @output.language %>' />
<% if @output.meta_description %>
<meta name='DESCRIPTION' content='<%= vh @output.meta_description %>'/>
<% if @output.meta_description || @output.includes[:meta_description] -%>
<meta name='DESCRIPTION' content='<%= vh (@output.includes[:meta_description] || @output.meta_description).to_s %>'/>
<% end -%>
<% if @output.meta_keywords%>
<meta name='KEYWORDS' content='<%= vh @output.meta_keywords%>'/>
Expand Down

0 comments on commit 4626e46

Please sign in to comment.