1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-23 21:02:09 +00:00

Don't make the page title too long

This commit is contained in:
Rohan Kumar 2022-02-11 12:25:41 -08:00
parent 68237c5e8f
commit aa7e4d3167
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479

View file

@ -38,7 +38,7 @@
{{- if eq .RelPermalink "/" }}
<title>{{ .Title }}</title>
{{- else }}
<title>{{ .Title }} - Seirdy</title>
<title>{{ .Title }}{{if lt (len .Title) 66 }} - Seirdy{{ end }}</title>
{{- end -}}
<!-- open graph stuff; used in the Fediverse, Signal link previews,
some RSS readers, and a certain large social media company -->