switch navigation and h1 in template
This commit is contained in:
parent
59a11a0882
commit
410e7fc496
|
@ -36,13 +36,14 @@ const defaultTemplate string = `<!DOCTYPE html>
|
||||||
<script>{{.Script}}</script>
|
<script>{{.Script}}</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>{{if .Blogpost}}{{.Blogname}}: {{end}}{{.Title}}</h1>
|
|
||||||
<div class="navigation" id="navigation">
|
<div class="navigation" id="navigation">
|
||||||
<a href="/">home</a>
|
<a href="/">home</a>
|
||||||
<a href="/blog/">blog</a>
|
<a href="/blog/">blog</a>
|
||||||
<a href="/photos/pages/">photos</a>
|
<a href="/photos/pages/">photos</a>
|
||||||
<a href="javascript:void(0);" class="burger" onclick="retard()">☰</a>
|
<a href="javascript:void(0);" class="burger" onclick="retard()">☰</a>
|
||||||
</div>
|
</div>
|
||||||
|
<h1>{{if .Blogpost}}{{.Blogname}}: {{end}}{{.Title}}</h1>
|
||||||
|
|
||||||
{{if .Description}}<h3>{{.Description}}</h3>{{end}}
|
{{if .Description}}<h3>{{.Description}}</h3>{{end}}
|
||||||
|
|
||||||
{{if .Subpages}}
|
{{if .Subpages}}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user