now we need to rewrite index html to inherit from base html here' index htmlindex html {extends "learning_logs/base html% {block content %learning log helps you keep track of your learningfor any topic you're learning about {endblock content %if you compare this to the original index htmlyou can see that we've replaced the learning log title with the code for inheriting from parent template child template must have an {extends %tag on the first line to tell django which parent template to inherit from the file base html is part of learning_logsso we include learning_logs in the path to the parent template this line pulls in everything contained in the base html template and allows index html to define what goes in the space reserved by the content block we define the content block at by inserting {block %tag with the name content everything that we aren' inheriting from the parent template goes inside content block herethat' the paragraph describing the learning log project at we indicate that we're finished defining the content by using an {endblock content %tag you can start to see the benefit of template inheritancein child template we only need to include content that' unique to that page this not only simplifies each templatebut also makes it much easier to modify the site to modify an element common to many pagesyou only need to modify the element in the parent template your changes are then carried over to every page that inherits from that template in project that includes tens or hundreds of pagesthis structure can make it much easier and faster to improve your site note in large projectit' common to have one parent template called base html for the entire site and parent templates for each major section of the site all the section templates inherit from base htmland each page in the site inherits from section template this way you can easily modify the look and feel of the site as wholeany section in the siteor any individual page this configuration provides very efficient way to workand it encourages you to steadily update your site over time the topics page now that we have an efficient approach to building pageswe can focus on our next two pagesthe general topics page and the page to display entries for single topic the topics page will show all topics that users have createdand it' the first page that will involve working with data