Move navbar and footer out of directories where they are the only files, update base template.

This commit is contained in:
steverusso 2020-06-01 18:07:55 -04:00
parent ed202c3523
commit 56aba374b8
3 changed files with 4 additions and 8 deletions

View File

@ -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>