【发布时间】:2020-09-27 20:39:44
【问题描述】:
我在我的网站的.css 文件中有以下内容,但当我尝试生成网站时,却出现了完全相同的情况。那就是液体标签没有被替换,但下面的标签被视为纯文本。我该如何解决这个问题?
@font-face{
font-family: 'Examplefont';
src: url({{ '/css/ef/eot/Examplefont-Light.eot');
src: local('Examplefont Sans Light'),
url({{ '/css/ef/eot/Examplefont-Light.eot' | absolute_url }} format('embedded-opentype'),
url({{ '/css/ef/woff/Examplefont-Light.woff' | absolute_url }} format('woff'),
url({{ '/css/ef/ttf/Examplefont-Light.ttf' | absolute_url }} format('truetype');
font-weight: 200;
font-style: normal;
}
【问题讨论】: