[Django]-How can I resolve this linting error? "Consider adding meta keywords. <html lang="en-US"> (H031)"

7👍

I experienced the same problem.

Please try adding a meta element name="description" as follows.

<html lang="en">
    <head>
        <meta charset="utf-8"/>
        <meta name="keywords" content="foo,bar"/>
        <meta name="description" content="foo"/>
        <!-- etc -->
    </head>
    <!-- etc -->
</html>

4👍

I was facing the same issue and solved it by adding <meta name="keywords" ... > into <head>.

e.g.

 <head>
     ...
     <meta name="keywords" content="foo,bar" />
     ...
 </head>
👤jjkim

Leave a comment