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

View file

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