home page templates code example
Example: home template
{% extends 'base.html' %}
{% block title %}
<title>Homepage</title>
{% endblock %}
{% block body %}
<div class="jumbotron">
<div class="container">
<h1 class="display-3 font-weight-lighter">Homepage</h1>
<p class="lead">Lorem ipsum dolor sit amet.</p>
<button class="btn btn-outline-primary">Sign Up</button>
</div>
</div>
{% endblock %}