I’m new to hugo and just figuring it out. The repo runs successfully on my local machine, but as soon as I’m deploying it to Vercel, the header and footer, added in the baseof.html, are gone.
{{ block "finjiheader" . }}{{ end }}
{{ block "main" . }}{{ end }}
{{ block "finjifooter" . }}{{ end }}
partials do not need define and block. We can call partials with the partial statement.
I have no idea about the difference of your local machine and vercel. But you can delete public under Git control. Please add public to .gitignore. It may be the reason for this.