node.jspug

Inserting Meta using jade Template engine


I want to render

<meta name="viewport" content="width=device-width, initial-scale=1.0">

in my index page Html head

is this the correct solution

meta(name="viewport",content="width=device-width, initial-scale=1.0")


Solution

  • Yes, meta(name='viewport', content='width=device-width, initial-scale=1.0') is correct!

    When it doubt use https://html2jade.org/