summaryrefslogtreecommitdiff
path: root/web/template/profile.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/profile.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/profile.tmpl')
-rw-r--r--web/template/profile.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/template/profile.tmpl b/web/template/profile.tmpl
index 9838e5b30..4c348d028 100644
--- a/web/template/profile.tmpl
+++ b/web/template/profile.tmpl
@@ -29,7 +29,7 @@
</div>
<h2 id="recent">Latest public toots</h2>
{{ if not .statuses }}
- <div class="nothinghere">Nothing here!</div>
+ <div data-nosnippet class="nothinghere">Nothing here!</div>
{{ else }}
<div class="thread">
{{ range .statuses }}