aboutsummaryrefslogtreecommitdiffstats
path: root/template.html
blob: 1e56d6f641cfb888a67c53659ef5539b62931fbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!DOCTYPE html>
<html>
    <head>
        <title>{{.SiteTitle}} - Docs</title>
        <link rel="stylesheet" href="{{.StylesheetUrl}}" />
        <meta charset="UTF-8">
        <meta name="author" content="Eduardo Pedroni">
    </head>
    <body>
        <header>{{.SiteTitle}}</header>
        <nav>
            <ul>
                {{range .Nav}}
                <li>
                    <a href="{{.AbsoluteUrl}}">{{.Text}}</a>
                </li>
                {{end}}
            </ul>
        </nav>
        <main>
        {{range .Content}}
            <article>
                {{.}}
            </article>
        {{end}}
        </main>
    </body>
</html>