{% extends.. block body} is it standard to use or not?

Is it standard to use % extends, block body, end block like in the code below(copied from cs50 video) or is it better to just type out the whole template on each new page with exclamation mark in vs code?

(% extends "layout.html" %}

(%block body %)

<form action="/greet" method="get">
  <input autocomplete="off" autofocus name="name" placeholder="Name" required type="text">
  <input type="submit>
</form>

(% endblock %}
Was this page helpful?