refactor[index]: partials are now loaded by baseof, for all pages
Due to previous commits, now the partials are being loaded for all the pages through baseof.html, so it is not necessary to load them in the index (this would result in double-loading)
This commit is contained in:
parent
b57068be09
commit
1ba03008e2
|
@ -1,12 +1,3 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="{{ $.Site.LanguageCode}}">
|
||||
<head>
|
||||
{{ partial "header.html" . }}
|
||||
<title>{{ $.Site.Title }}</title>
|
||||
</head>
|
||||
<body>
|
||||
{{ partial "navbar.html" . }}
|
||||
{{ define "main" }}
|
||||
{{ partial "home.html" . }}
|
||||
{{ partial "footer.html" . }}
|
||||
</body>
|
||||
</html>
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in New Issue