Jezzy Grey


Create a homepage template for a django project that will extend the base_generic template and output the text passed to the title_text variable in the header. The template must include a content block and a title block

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>{% block title %}{{ title_text }}{% endblock %}</title> </head> <body> {% block content %}{% endblock %} </body> </html>

Questions about programming?Chat with your personal AI assistant