html extraction

Title display is not the same, you need to dig 

<title>{% block title %}{% endblock %}</title>
填坑
{% Block title%} Home plane {% endblock%}


cs different needs of the pit
%% Block Link} { 

{% endblock%}
the line where it is needed on the need to change digging

analysis website page structure, to find common ground and differences
select a base page as the underlying page, a page other pages call base plate

Observations provide static template page, find the public part of the template, and then extracted as a base template.

  

Through observation, discovery template layout provided for the top navigation, content middle, on the right sidebar, and footer bottom. Which in addition to the middle of the layout of the content is different, the layout of the other three parts have not changed, we can come out of these three parts as a base template.

 

 

 

## Second, the template extraction

 

The appropriate folder template provided by the first static files to copy into static files

 

Guess you like

Origin www.cnblogs.com/wdty/p/11071895.html