tut/toot.tmpl: Rename SpoilerText to CWText
See https://github.com/RasmusLindroth/tut/issues/229.
This commit is contained in:
parent
5aec04f0cc
commit
9a188237a2
1 changed files with 1 additions and 1 deletions
|
@ -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 }}
|
||||||
|
|
Loading…
Reference in a new issue