Step 1: Home Page

Lets create a home page for our site.

Home Page

Lets create a home page, create index.html under hugo-tutorial/layouts/index.html.

Let’s add some html content, I will get back later what define "main" is all about, but for now just copy the code,

 {{ define "main" }}
    <h1>Hugo Tutorial</h1>
    <h2>
    The world’s fastest framework for building websites.
    <h2></h2>
    </h2>
{{ end }}

If all goes well you should see the below page

hugo home page
hugo home page

Coming next

Page Layout - Single & List : Lets add basic html template for our pages