tut/toot.tmpl: Rename SpoilerText to CWText

See https://github.com/RasmusLindroth/tut/issues/229.
This commit is contained in:
Sanchayan Maity 2022-12-20 11:33:47 +05:30
parent 5aec04f0cc
commit 9a188237a2
Signed by: sanchayanmaity
GPG Key ID: 6F6A0609C12038F3
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@
{{- end }} {{- if .Toot.Edited -}}{{ Color .Style.Subtle }} (edited toot){{ end }}
{{ if .Toot.Spoiler -}}
{{ Color .Style.Text }}{{ .Toot.SpoilerText }}
{{ Color .Style.Text }}{{ .Toot.CWText }}
{{ if not .Toot.ShowSpoiler }}
{{ Color .Style.Subtle }}Press [z[] to show hidden text{{ Color .Style.Text }}
{{ end }}