-1
我有一些含有一些元定义的haml文件。 我需要定义像在rails haml文件中使用资产管道
<meta property="og:image" content="path-to/mylogo.png" />
Facebook的图像的元标记我如何能做到这一点与资产管道,我曾尝试做以下
%meta(property="og:image", content=image_url('newLogo.png'))
,但它给了我一个错误。
试试这个:'%间{内容:IMAGE_URL('newLogo .png'),属性:“og:image”}' –