So before we start building our virtual terminal web form, let's just make a slight change to Visual
Studio code.
I wasn't really happy with the way that we got template syntax highlighting with the extension we used.
And I found a better way of doing it.
And it's really easy to change.
But it does require a few changes to our code, a few changes to the names of some of our files and
adding one new extension.
So first of all, let's click on the extensions button over here in Visual Studio Code and search for
go template just to find the one that we already have, which is this go template support.
I'm going to click on that and I'm going to uninstall it.
So it's gone.
All right.
So I'll close that window and now we'll look for Gote with no spaces.
And that's the one I should have used the first time around.
I want to install goup templates, syntax, so that's installed and I'll close this window.
And now actually, if we look at that, bring that back up and you look at the feature contributions.
What I want is this one go html goldwing html template and these are the extensions it pays attention
to.
Now there's probably some way to change the configuration or settings in visual studio code, but I'm
relatively lazy about this sort of thing, so I'm just going to change my file names and then update
my render syntax.
So I'm going to go back to my explorer and these two templates, I'll simply rename them.
So rename that.
And instead of calling it template or call it Dot Geo HTML and I'll do the same thing with this one.
Rename the.
To go to M. Now I'll open my render function and find the places where I'm using Temple right here and
I'll change that to go HTML, there's the first one.
Now let's find Temple.
There's a few more.
So that should be go html.
This one should be go html.
This one should be go html and over here go html go html.
And I think that's it looks like.
All right, so let's run er or run it the way you choose to run it.
I'm going to run in here and I'll go back to my web browser and reload this page and there everything
looks good.
Now before we move on, there's one more slight change I need to make and it's back at our base template.
So let's go back to our ID and let's open up base layout HTML.
And the problem is just a slight placement thing.
JavaScript doesn't belong after the closing body tag, and I'm sure many of you notice that it belongs
here before the closing, but it can still work, but it's not correct there.
So let's bring that back in and away we go.
So this isn't perfect.
It doesn't have formatting built in, but it's a lot better than what we had before.
And if I can figure out how to automatically format a page of HTML and go template syntax, I'll add
that to an upcoming lecture.