focus on developing the unique aspects of each page and makes it much easier to change the overall look and feel of the project the parent template we'll start by creating template called base html in the same directory as index html this file will contain elements common to all pagesevery other template will inherit from base html the only element we want to repeat on each page right now is the title at the top because we'll include this template on every pagelet' make the title link to the home pagebase html learning log {block content %}{endblock content %the first part of this file creates paragraph containing the name of the projectwhich also acts as link to the home page to generate linkwe use template tagindicated by braces and percent signs {% template tag is bit of code that generates information to be displayed on page in this examplethe template tag {url 'learning_logs:index%generates url matching the url pattern defined in learning_logs/urls py with the name 'indexu in this examplelearning_logs is the namespace and index is uniquely named url pattern in that namespace in simple html pagea link is surrounded by the anchor taglink text having the template tag generate the url for us makes it much easier to keep our links up to date to change url in our projectwe only need to change the url pattern in urls pyand django will automatically insert the updated url the next time the page is requested every page in our project will inherit from base htmlso from now on every page will have link back to the home page at we insert pair of block tags this blocknamed contentis placeholderthe child template will define the kind of information that goes in the content block child template doesn' have to define every block from its parentso you can reserve space in parent templates for as many blocks as you likeand the child template uses only as many as it requires note in python codewe almost always indent four spaces template files tend to have more levels of nesting than python filesso it' common to use only two spaces for each indentation level getting started with django