Topic: META tag for site description

What file would I find the site description in? My developer is away and I need to fix something myself yikes

Last edited by jkme (2006-11-13 03:49:52)

Re: META tag for site description

Should be in a file located in the /app/views/layouts directory.

Re: META tag for site description

It's not there sad Here's a bit of the code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="" xml:lang="en" lang="en">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="Content-Language" content="en-us" />
    <meta name="copyright" content="<%= @page['copyright'] %>" />
    <meta name="keywords" content="<%= @page['keywords'] %>" />
    <meta name="description" content="<%= @page['description'] %>" />
    <title><%= @page['title'] %></title>
    <script src="/mint/?js" type="text/javascript"></script>
    <%= stylesheet("screen") %>
    <%= stylesheet(@params['controller']) %>

So this sucks, all my main pages have the same page descriptions and its not doing any good for my google rank sad

Re: META tag for site description

Looks like it's stored in the @page['description'] hash. I would do a search for that over the entire project and see where it is being set. My guess is that each controller action is setting it separately.

Railscasts - Free Ruby on Rails Screencasts