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="shortcut icon" href="/favicon.ico">
|
||||
|
||||
<title>{{ block "title" . }}
|
||||
{{ .Site.Title }}
|
||||
{{ end }}</title>
|
||||
<title>{{ block "title" . }} {{ .Site.Title }} {{ end }}</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
{{ partial "navbar/site-navbar.html" . }}
|
||||
{{ partial "navbar.html" . }}
|
||||
|
||||
<main>
|
||||
{{ block "main" . }}
|
||||
<!-- The part of the page that begins to differ between templates -->
|
||||
{{ end }}
|
||||
{{ block "main" . }} {{ end }}
|
||||
</main>
|
||||
|
||||
{{ partial "footer/site-footer.html" . }}
|
||||
{{ partial "footer.html" . }}
|
||||
{{ partial "scripts/scripts.html" . }}
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user