Skip to content

Commit

Permalink
Fix space being trimmed in Atoms archive title
Browse files Browse the repository at this point in the history
Was causing the title to appear as "Atomsarchive".
  • Loading branch information
brandur committed Jan 3, 2025
1 parent a7407e5 commit ea12aa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/atoms/index.tmpl.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- template "layouts/atoms.tmpl.html" . -}}

{{- define "title" -}}Atoms{{- if not .IndexMax -}} archive{{- end -}}{{.TitleSuffix}}{{- end -}}
{{- define "title" -}}Atoms{{if not .IndexMax}} archive{{end}}{{.TitleSuffix}}{{- end -}}

{{- define "atoms_content" -}}

Expand Down

0 comments on commit ea12aa0

Please sign in to comment.