about summary refs log tree commit diff
path: root/app/views/accounts/_og.html.haml
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-03-09 00:35:07 +0100
committerGitHub <noreply@github.com>2018-03-09 00:35:07 +0100
commitff44b2e92d496c6027b20157fea6ebd885906bea (patch)
tree704b648e34b52910ba041c34dc49309c08e3d3d0 /app/views/accounts/_og.html.haml
parent188aa3ea50799f4a81f28416fe47b3330091ef6f (diff)
Add missing meta description to profiles, some other SEO stuff (#6706)
- Add missing meta description to profiles
- Add canonical rel link to landing page
- Remove linebreaks from title tags
- Add username to profile title
- Add toots/following/followers to profile description tags
- Add next/prev rel links to profiles
- Do not index follower/following variants of profiles
Diffstat (limited to 'app/views/accounts/_og.html.haml')
-rw-r--r--app/views/accounts/_og.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/accounts/_og.html.haml b/app/views/accounts/_og.html.haml
index 1d16be590..26424a49c 100644
--- a/app/views/accounts/_og.html.haml
+++ b/app/views/accounts/_og.html.haml
@@ -1,7 +1,7 @@
 = opengraph 'og:url', url
 = opengraph 'og:site_name', site_title
 = opengraph 'og:title', [yield(:page_title).strip.presence, site_title].compact.join(' - ')
-= opengraph 'og:description', account.note
+= opengraph 'og:description', account_description(account)
 = opengraph 'og:image', full_asset_url(account.avatar.url(:original))
 = opengraph 'og:image:width', '120'
 = opengraph 'og:image:height', '120'