[Answered ]-Django template: src attribute doesn't work

1👍

I think you need to correct src="{{siteTitle.gitUrl}}" instead of src="{{website.gitUrl}}" like this…

    <!DOCTYPE html>
    <html lang="en">
    
    <head>
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title> {{siteTitle}} - Free Attitude Template</title>
    </head>
    
    <body>
        
        <iframe src="{{siteTitle.gitUrl}}" frameborder="0"></iframe>
    </body>
    
    </html>

Leave a comment