Template Inheritance

A pow­er­ful fea­ture in Twig (the tem­plat­ing engine used by Craft CMS) that allows a base tem­plate to define the com­mon ele­ments of a website’s lay­out, which child tem­plates can then extend and over­ride spe­cif­ic sec­tions using blocks. This pro­motes code reuse and main­tain­abil­i­ty in your front-end development.

Learn more about tem­plate inher­i­tance in Craft CMS and Twig