- set up top nav - auto generate menu from `main` - configurable brand (can be hidden or custom, defaults to site title) - top nav can be configured to be sticky - css in top, js at the end of body - default google analitycs template added to base - added highlight.js
25 lines
619 B
HTML
25 lines
619 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
{{ partial "head" . }}
|
|
{{ partial "title" . }}
|
|
</head>
|
|
<body{{ if and (isset $.Site.Params "fixednav") $.Site.Params.fixednav }} class="navbar-fixed-top"{{ end }}>
|
|
{{ block "header" . }}
|
|
{{ partial "nav" . }}
|
|
{{ end }}
|
|
<main role="main" class="container">
|
|
{{ block "main" . }}
|
|
{{ end }}
|
|
</main>
|
|
<footer class="container">
|
|
{{ block "footer" . }}
|
|
{{ partial "footer" . }}
|
|
{{ end }}
|
|
</footer>
|
|
|
|
{{ partial "javascript" . }}
|
|
{{ template "_internal/google_analytics_async.html" . }}
|
|
</body>
|
|
</html>
|