diff options
| author | 2025-03-01 13:06:08 +0100 | |
|---|---|---|
| committer | 2025-03-01 13:06:08 +0100 | |
| commit | e78e817057e01ce0cd2e3d532e4ca9ded8b88b73 (patch) | |
| tree | e09ceb6d17ed8360447e93c8d39f09fbd3f93d4c /web/template/status.tmpl | |
| parent | [chore]: Bump github.com/go-jose/go-jose/v4 from 4.0.2 to 4.0.5 (#3831) (diff) | |
| download | gotosocial-e78e817057e01ce0cd2e3d532e4ca9ded8b88b73.tar.xz | |
[feature] add microformat support (#3848)
Related: #2959
Signed-off-by: Luca Matei Pintilie <luca@lucamatei.com>
Diffstat (limited to 'web/template/status.tmpl')
| -rw-r--r-- | web/template/status.tmpl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/web/template/status.tmpl b/web/template/status.tmpl index de2167d88..ca956e8a7 100644 --- a/web/template/status.tmpl +++ b/web/template/status.tmpl @@ -19,7 +19,7 @@ {{- define "statusContent" -}} {{- with .Content }} -<div class="content" lang="{{- $.LanguageTag.TagStr -}}"> +<div class="content e-content" lang="{{- $.LanguageTag.TagStr -}}"> {{ noescape . | emojify $.Emojis }} </div> {{- end }} @@ -38,7 +38,7 @@ {{- if .SpoilerText }} <details class="text-spoiler"> <summary> - <span class="spoiler-text" lang="{{- .LanguageTag.TagStr -}}">{{- emojify .Emojis (escape .SpoilerText) -}}</span> + <span class="spoiler-text p-summary" lang="{{- .LanguageTag.TagStr -}}">{{- emojify .Emojis (escape .SpoilerText) -}}</span> <span class="button" role="button" tabindex="0">Toggle visibility</span> </summary> <div class="text"> @@ -70,7 +70,7 @@ {{- if .Local }} <a href="{{- .URL -}}" - class="status-link" + class="status-link u-url" data-nosnippet title="Open thread at this post" > @@ -79,7 +79,7 @@ {{- else }} <a href="{{- .URL -}}" - class="status-link" + class="status-link u-url" data-nosnippet rel="nofollow noreferrer noopener" target="_blank" title="Open remote post (opens in a new window)" |
