Move navbar and footer out of directories where they are the only files, update base template.
This commit is contained in:
parent
ed202c3523
commit
56aba374b8
@ -9,21 +9,17 @@
|
|||||||
<link rel="stylesheet" href="/light-theme.css">
|
<link rel="stylesheet" href="/light-theme.css">
|
||||||
<link rel="shortcut icon" href="/favicon.ico">
|
<link rel="shortcut icon" href="/favicon.ico">
|
||||||
|
|
||||||
<title>{{ block "title" . }}
|
<title>{{ block "title" . }} {{ .Site.Title }} {{ end }}</title>
|
||||||
{{ .Site.Title }}
|
|
||||||
{{ end }}</title>
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
{{ partial "navbar/site-navbar.html" . }}
|
{{ partial "navbar.html" . }}
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
{{ block "main" . }}
|
{{ block "main" . }} {{ end }}
|
||||||
<!-- The part of the page that begins to differ between templates -->
|
|
||||||
{{ end }}
|
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
{{ partial "footer/site-footer.html" . }}
|
{{ partial "footer.html" . }}
|
||||||
{{ partial "scripts/scripts.html" . }}
|
{{ partial "scripts/scripts.html" . }}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user