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:
f-dinucci 2022-05-30 22:48:06 +02:00
parent b57068be09
commit 1ba03008e2
1 changed files with 2 additions and 11 deletions

View File

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