-1

我使用此代码显示描述标签和关键字

<meta name="description" content="search thousands of humor, funny images<%= yield :description %>" />
    <meta name="keywords" content="funny, fun, comics, jokes, images, pictures, photos, humor, safe for work<%= yield :keywords %>" />

但是在开发环境中显示时它没有在生产环境中显示我的生产环境是 rails 3.2.11 和 heroku 所以我错过了什么吗?我什至试过这段代码

<meta name="keywords" content="funny, fun, comics, jokes, images, pictures, photos, humor, safe for work" />

结果是一样的,所以我想念什么?我真的开始吓坏了!!

4

1 回答 1

0

解决了我使用 html5.validator.nu 并且有一些 html 错误,我解决了 html 错误然后上传到 heroku 和元标记问题自动解决

于 2013-01-20T10:51:46.047 回答