If the section `layout.html` extend the base `layout.html`, then the last sentence should be "The latter extend the former."?
It could be clarified further to "A site template should be defined in _layout.html_, with sections of the site inheriting from and extending this template as needed."