Pug interpolation for JSON

810 Views Asked by At

Pug deprecated interpolation. But gulp-pug does not deal with ES6 template strings. Can somebody help with JSON-LD in pug. What shoud be right alternative for this?

script(type="application/ld+json").
  {
    "@context": "http://schema.org",
    "@id": "#{site.home}/#organization",
    "@type": "Organization",
    "name": "#{company.name}",
    "description": "#{company.businessDescription}"
  }
0

There are 0 best solutions below