2017-01-09 18:43:53 +00:00
- content_for :header_tags do
= javascript_include_tag 'application_public'
2016-10-14 00:03:12 +01:00
- content_for :page_title do
= Rails.configuration.x.local_domain
2016-12-14 23:59:49 +00:00
- 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 }/
2017-01-12 19:46:24 +00:00
%meta{ property: 'og:description', content: @description.blank? ? "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" : strip_tags(@description) }/
2016-12-15 00:07:58 +00:00
%meta{ property: 'og:image', content: asset_url('mastodon_small.jpg') }/
%meta{ property: 'og:image:width', content: '400' }/
%meta{ property: 'og:image:height', content: '400' }/
2017-01-05 22:47:40 +00:00
%meta{ property: 'twitter:card', content: 'summary' }/
2016-12-14 23:59:49 +00:00
2016-09-27 22:12:33 +01:00
.wrapper
%h1
= image_tag 'logo.png'
Mastodon
2016-11-15 22:56:03 +00:00
%p= t('about.about_mastodon').html_safe
%p= t('about.about_instance', instance: Rails.configuration.x.local_domain).html_safe
2016-09-27 22:12:33 +01:00
2016-11-01 15:58:13 +00:00
.screenshot= image_tag 'screenshot.png'
2017-01-12 19:46:24 +00:00
- unless @description.blank?
%p= @description.html_safe
2016-09-27 22:12:33 +01:00
.actions
2016-11-01 15:58:13 +00:00
.info
2017-01-13 19:14:21 +00:00
= link_to t('about.learn_more'), about_more_path
2016-11-15 22:56:03 +00:00
= link_to t('about.terms'), terms_path
2017-01-11 02:24:14 +00:00
= link_to t('about.source_code'), 'https://github.com/tootsuite/mastodon'
2016-11-01 15:58:13 +00:00
2016-12-20 23:13:13 +00:00
= link_to t('about.get_started'), new_user_registration_path, class: 'button webapp-btn'
= link_to t('auth.login'), new_user_session_path, class: 'button webapp-btn'