Skip to content

Commit 06416c2

Browse files
authored
fix: remove extra space when author is empty
1 parent b42d272 commit 06416c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

layouts/partials/footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
</a>
3737
{{- end }}
3838
</div>
39-
<div class="copyright">&copy; {{ now.Year}} {{ $author }}. All rights reserved.</div>
39+
<div class="copyright">&copy; {{ now.Year}}{{ with $author }} {{ . }}{{ end }}. All rights reserved.</div>
4040
</div>
4141
</div>
4242
</div>

0 commit comments

Comments
 (0)