0

我有一个页面,其元内容来自 view.yml 文件。

<meta name="robots" content="index, follow" />
<meta name="description" content="" />
<meta name="keywords" content="summer jobs" />
<meta name="language" content="en" />

在 view.yml 文件中如下:

summerjobsSuccess:
  has_layout:     on
  layout:         layoutreg
  stylesheets:    [common]
  metas:
    title:        Summer Jobs for Students
    robots:       index, follow
    description:  Find the best summer jobs here including: working abroad, summer camp jobs, summer festival jobs, and student summer jobs in retail or telesales
    keywords:     summer jobs
    language:     en

我寻找间距,它看起来很完美。可能是什么错误?

4

1 回答 1

0

出现问题是因为您的描述中有一个冒号 ( :) - 您需要将字符串括在引号中:

description:  'Find the best summer jobs here including: working abroad, summer camp jobs, summer festival jobs, and student summer jobs in retail or telesales'
于 2012-06-11T09:04:05.160 回答