about summary refs log tree commit diff
path: root/app/views/about
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/about
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/about')
-rw-r--r--app/views/about/show.html.haml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/about/show.html.haml b/app/views/about/show.html.haml
index d067d4874..dbb914f11 100644
--- a/app/views/about/show.html.haml
+++ b/app/views/about/show.html.haml
@@ -2,6 +2,7 @@
   = site_hostname
 
 - content_for :header_tags do
+  %link{ rel: 'canonical', href: about_url }/
   %script#initial-state{ type: 'application/json' }!= json_escape(@initial_state_json)
   = javascript_pack_tag 'about', integrity: true, crossorigin: 'anonymous'
   = render partial: 'shared/og'