So Iβve been using AmazingRise/hugo-theme-diary for a personal blog but there are problems now with the theme and version hugo v0.165.0+extended+withdeploy linux/arm64 BuildDate=unknown running on my raspberry pi.
running hugo new content posts/new-post.md gives me:
ERROR "/home/merlin/Areas/hugo_sites/patreon_stack_plan/themes/diary/layouts/_default/baseof.html:7:1": apply base template failed: template: outbox/email.html:7: unexpected EOF
When I look the file I see:
<!DOCTYPE html>
<html lang="{{ $.Site.Language }}">
{{- partial "head.html" . -}}
<body>
<div id="app">
{{- partial "mobile-header.html" . -}}
<!-- mobile header -->
<div id="content">
<div id="streamContainer" class="stream-container">
{{- block "main" . }}{{- end }}
</div>
</div>
{{- partial "sidebar.html" . -}}
{{- partial "extrabar.html" . -}}
{{- partial "mobile-footer.html" . -}}
<!-- mobile footer -->
</div>
{{ partial "journal.html" .}}
<!-- For compatibility. View https://github.com/AmazingRise/hugo-theme-diary/pull/135 for details.-->
{{- $hugoVersion := split (replaceRE ".*([0-9]+)\\.([0-9]+)\\.([0-9]+).*" "$1 $2 $3" hugo.Version) " " -}}
{{- if and (eq (int (index $hugoVersion 0)) 0) (ge (int (index $hugoVersion 1)) 101) -}}
{{- /* no leading slash */ -}}
<script src="{{"js/journal.js" | relURL}}"></script>
{{- else -}}
{{- /* with leading slash */ -}}
<script src="{{"/js/journal.js" | relURL}}"></script>
{{- end -}}
</body>
</html>
And I donβt see any errors.