about summary refs log tree commit diff
path: root/app/views
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-12-15 00:59:49 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-12-15 00:59:49 +0100
commit642e464670c320b3151bd2c4e1035af93dab735f (patch)
tree7459b3ccd9028d955e29980ecffa89e8611778bf /app/views
parent8bbdd353412e2811c978983744f8ea881bc4039d (diff)
Adding art by cutewitchirl, open graph tags for about page
Diffstat (limited to 'app/views')
-rw-r--r--app/views/about/index.html.haml9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/about/index.html.haml b/app/views/about/index.html.haml
index 307d75c81..e8d989b92 100644
--- a/app/views/about/index.html.haml
+++ b/app/views/about/index.html.haml
@@ -1,6 +1,15 @@
 - content_for :page_title do
   = Rails.configuration.x.local_domain
 
+- content_for :header_tags do
+  %meta{ property: 'og:site_name', content: 'Mastodon' }/
+  %meta{ property: 'og:type', content: 'website' }/
+  %meta{ property: 'og:title', content: Rails.configuration.x.local_domain }/
+  %meta{ property: 'og:description', content: "Mastodon is a free, open-source social network server. A decentralized alternative to commercial platforms, it avoids the risks of a single company monopolizing your communication. Anyone can run Mastodon and participate in the social network seamlessly" }/
+  %meta{ property: 'og:image', content: asset_url('mastodon.jpg') }/
+  %meta{ property: 'og:image:width', content: '1400' }/
+  %meta{ property: 'og:image:height', content: '1488' }/
+
 .wrapper
   %h1
     = image_tag 'logo.png'