summaryrefslogtreecommitdiff
path: root/web/template/status.tmpl
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2022-09-29 12:03:17 +0200
committerLibravatar GitHub <noreply@github.com>2022-09-29 12:03:17 +0200
commitdd83ad053c0cde5b948cbfe34ec4864cf0a123e3 (patch)
treedbd53c7a2c98003c0ad96727ceaa572e4f7aa0eb /web/template/status.tmpl
parent[frontend] Unified panels (#812) (diff)
downloadgotosocial-dd83ad053c0cde5b948cbfe34ec4864cf0a123e3.tar.xz
[feature] Add `meta robots` tag; allow robots to index profile card if user is Discoverable (#842)
* rework robots.txt response * don't let robots snippet from statuses/threads * allow robots to index if user is Discoverable * add license text
Diffstat (limited to 'web/template/status.tmpl')
-rw-r--r--web/template/status.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/template/status.tmpl b/web/template/status.tmpl
index 73e7d1b03..5136b6ad7 100644
--- a/web/template/status.tmpl
+++ b/web/template/status.tmpl
@@ -1,4 +1,4 @@
-<div class="contentgrid">
+<div data-nosnippet class="contentgrid">
<a href="{{.Account.URL}}" class="avatar"><img src="{{.Account.Avatar}}" alt=""></a>
<a href="{{.Account.URL}}" class="displayname">{{if .Account.DisplayName}}{{emojify .Account.Emojis (escape .Account.DisplayName)}}{{else}}{{.Account.Username}}{{end}}</a>
<a href="{{.Account.URL}}" class="username">@{{.Account.Acct}}</a>
@@ -52,4 +52,4 @@
<div id="favorites"><i aria-label="Favorites" class="fa fa-star"></i> {{.FavouritesCount}}</div>
</div>
</div>
-<a href="{{.URL}}" class="toot-link">View toot</a> \ No newline at end of file
+<a data-nosnippet href="{{.URL}}" class="toot-link">View toot</a> \ No newline at end of file