Hello, friend.
Welcome back.
In a previous video, we successfully load one of the e-mail templated in our tango, right?
So now in this video, I want to do two mastering it.
So before doing this here, I want to pull some of the link.
OK, so here I have already created some on the wall.
If you go to our main project into the main project.
What else I have already created on the wall for about that is the contact.
And I also name it as a contact.
And that is our home.
Right.
So now I want to actually add all that our menu.
So previously I have all added all that menu in our layouts into the layouts area.
I think you remember that part is your home about that is a contact and the profile that.
So I want to update this menu.
OK, I want to update this menu.
If you go to a layout so you do the template area into the template area, that is actually the menu.
OK, and also here you can see that regular home, that is the company.
That means that is the company.
OK, so if you want to change that, you can change it.
I just make it easy.
OK, easy learning.
OK, just name it as easy learning.
And here I want to do on top that our equal parts I have already created will the all part and the view
home function and just name that part as a home.
Right.
So now we can actually use it better.
I have already added that things, you know, layout, I already save it.
So now I just simply copy it.
And now here, here I just simply update that portion.
OK, so that is our home model and that is our home also here.
I have to do I have to update it.
And then that is about Sabater.
That is one of the dropdown.
OK, so better here.
Here I need me to about I and this will be about page, this will be as a contact page and this will
be as a profile page.
OK, I just name it as a profile.
So for about I have already created one the you are already what is about.
So I just simply name it as about and this will be for our profile and that will be as a profile.
Right.
So I have already discussed about that things we do and then that will be for our contact.
So that will be for our contact.
That is already wartell and then our part name as a contact.
So now I just simply updated that.
OK, so just simply update it.
So now if you click as a all and now if you refresh it.
Perfect now can see everything is now updated.
So that is our home, I have updated our easy learning and home about.
I just started about and then that will be our profile and then that is our contact.
So now if you click on the about, this will be not loaded because of all here.
I didn't mustering our template.
Right.
You can see so we could talk about you, what that means about Pop.
But our template is not becoming changed because of all I did in mastering it.
So we have to do we have to actually mastering it.
OK, before we have added one, that is actually the block the block content area.
We have updated that part.
So don't we have to do the same things for our this layout?
So for doing this, I want to do and actually segment it right now.
So if you want to master it like that is the part as I see us as part.
So I want to save all the things in our layout that means all the success and the Jaysus link.
I want to save it on here and that is our header part.
That header part will be common for debris pages for the reasons here.
I want to actually take our D header part and also I want to take all that our food apart in our layers
because of all header and the computer will be same right header and footer will be same for our every
other pages.
So I think you already remember it.
And also and they have one of the slider and slider is only visible for our this homepage.
Right.
For the reasons here, I have already created one of the pages.
If you go to our template into the template area, I have already created one of the slides.
Right.
So no, actually we will use it again.
So here you are.
You don't need this.
That is indexers html here.
We don't need this.
So if you go to our index and into the index area here, you can say already extended our e-mail.
That is our title, that is our block contain.
And here I include our sidebar.
Right, that this slider dot is HTML.
So I want to do actually I want to cut this part, that, this slider part from here and I want to save
it.
Know what.
This slider area.
OK, then it should be actually better because of all here.
I have already included our slider.
So now go to a template that been allowed into the layout area that is our heroes section.
OK, that the lower slider part that means from here, from here I want to do that is our slider tool
slider three and that is actually our end heroes.
Right.
So now from here I want to do under the carpet.
So I just simply cut it from this position and that will be our slider part.
And here I just simply paste it, OK, it, I just simply paste it in particular that position.
So that will be our slider part and also into the index area.
I have already included our slider and so automatically should we get that things from here and also
the main our ID.
So that is our main idea.
And then the other part will be common for our every other pages.
For the reasons here I only want to do I want to actually take this main part.
OK, so here, if you minimize it, you can see there are total all that our files.
So now I want to do actually I want to take total things from here.
It's perfect.
So now I just simply cart out this main part or then you can do one things.
But I want to take this main OK, so before this main there is a section, I just simply select all
the sorry that will be our main ID.
So from this position I want to pick everything.
I just simply got it.
So that is our main ID.
I just simply added that things on here and this part I want to do, I want to add it in our index system
so that the index system is right now.
We don't need this everything.
I just to remove it.
So that will be our block contain.
And then here I include our this slider.
Right.
So that will be our slider apart.
And here, here I just simply paste it.
Perfect.
So here I just simply passed it and now here in our layout.
So in particular that position I want to do I want to add our D block, OK, that means our block contains.
I just simply copied it and now here I just simply paste it.
Perfect.
OK, so here I just simply load it.
And now if you click as a Savol, so you may get some of the error because of all here.
You can see I there are also all the DA file here.
We have to load our static because of all they have some of the images and also in the index area they
have some of the images.
But I show you like if you're not clear to save all.
And now if you go to our main site, click as they enter now consistent showing as a template error,
as a line and tag that it is static, expected and block.
As I told you here, we have to do we have to add it.
That means we have.
Lord, our this is Static's, I just simply copied because in our slide area they have some of the images
and also here I have used that is static.
Right.
So for the reasons in particular, that area you have to do we have to load that is static and also
same as the index and the index area I want to do and actually also load it.
So inside that block, so inside that block there is also slider and after the slider here, I just
simply load our static.
Perfect.
Now if we can get a save all and now if you refresh it.
Yes, you can see everything is now perfectly visible.
OK, it's different.
So everything is not perfect.
But here I have already mastering that our template.
That means our header part and the futer part in our layout area.
And also I added our this part up in the slider part for the slider part.
I have added that another one as a slider, so scowls from our slider daughters html and also this part.
Everything west of this are worried about us.
That is our services and the portfolio and then the client.
So in particular, this position that is everything is actually comes from our index.
Right.
So now I think it's very much clear to you.
And now if you go to our about base.
Yes, you can see, as I told you about the about us, what exactly I did.
If you open all about us, I think it's very clear to you that voters here you can see I already extended
our layout and into the layout area.
I have already added our this part that in the header part and the future part.
Right.
So and this part actually our dynamic part, that means our content part that is a block contains this
block.
Content is not visible.
Right.
So it's not visible.
So if you go to the profile, you can see it's not perfectly visible or profile.
And if you go to our contact and you can see the perfectly display, our contact page.
So now if you go to our home and we the home area, you also lauded our slider because I fall into the
index.
That means indexes html here I have include our slider.
Right.
If you remove it clear to save all and now if you refresh it now you see our slider is totally gone.
So friend, I hope you can well understand about it how I am actually discussed about that.
Include functions with this include methode.
You can load any kind of space so into the slide area, into the slider even that means a slider related
everything in our slider that is Tamalpais.
I just simply imploded in particular that position so far right now if you can get a table again.
So I have included this methode our slider html and now refresh it.
Yeah, you can see perfectly.
Everything is working I hope is very much clear to your friend.
How can my starting your templates right now, I am actually mastering with the two different ways.
So if you want to also make that start, this page will be cast from our another page as a solid base.
And after that you have to have to include it.
Right.
And also if you want to segment this about a space.
So for the reasons here, you have to do you have to create another base.
That means here you have to create another piece the about and then you have to do we have to simply
include it just like that.
OK, include under about is Tamalpais.
So that's that's how you can actually also segment every part.
And that means the end of that portfolio part.
If you want to change the client part, you can change it.
So if you already understand that main basic concept, I think friend and then it's not to be very much
hard for you.
So there's so you can actually master in your template.
Zino.
Next video I want to discuss about our admin positions like here.
If you go to our site, so do the site area, if you go to that admin.
So as I told you before in Django actually provided one of the default admin panel.
So how can working with this admin panel in our next video, I will show you that things with the live
example.
So thanks for watching and I'll see you in the next video.