2017-01-09 20:43:53 +02:00
|
|
|
- content_for :header_tags do
|
2017-04-14 12:09:20 +03:00
|
|
|
= javascript_include_tag 'application_public', integrity: true
|
2017-01-09 20:43:53 +02:00
|
|
|
|
2016-10-14 02:03:12 +03:00
|
|
|
- content_for :page_title do
|
|
|
|
= Rails.configuration.x.local_domain
|
|
|
|
|
2016-12-15 01:59:49 +02:00
|
|
|
- content_for :header_tags do
|
2017-04-08 13:15:40 +03:00
|
|
|
%meta{ property: 'og:site_name', content: site_title }/
|
2016-12-15 01:59:49 +02:00
|
|
|
%meta{ property: 'og:type', content: 'website' }/
|
|
|
|
%meta{ property: 'og:title', content: Rails.configuration.x.local_domain }/
|
2017-04-09 15:47:25 +03:00
|
|
|
%meta{ property: 'og:description', content: strip_tags(@instance_presenter.site_description.blank? ? t('about.about_mastodon') : @instance_presenter.site_description) }/
|
2016-12-15 02:07:58 +02: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-06 00:47:40 +02:00
|
|
|
%meta{ property: 'twitter:card', content: 'summary' }/
|
2016-12-15 01:59:49 +02:00
|
|
|
|
2016-09-28 00:12:33 +03:00
|
|
|
.wrapper
|
|
|
|
%h1
|
|
|
|
= image_tag 'logo.png'
|
2017-04-15 14:28:09 +03:00
|
|
|
= Setting.site_title
|
2016-09-28 00:12:33 +03:00
|
|
|
|
2016-11-16 00:56:03 +02:00
|
|
|
%p= t('about.about_mastodon').html_safe
|
2016-09-28 00:12:33 +03:00
|
|
|
|
2017-03-21 20:18:37 +02:00
|
|
|
.screenshot-with-signup
|
|
|
|
.mascot= image_tag 'fluffy-elephant-friend.png'
|
|
|
|
|
2017-04-09 15:47:25 +03:00
|
|
|
- if @instance_presenter.open_registrations
|
|
|
|
= render 'registration'
|
2017-04-04 16:26:57 +03:00
|
|
|
- else
|
|
|
|
.closed-registrations-message
|
2017-04-09 15:47:25 +03:00
|
|
|
- if @instance_presenter.closed_registrations_message.blank?
|
2017-04-04 16:26:57 +03:00
|
|
|
%p= t('about.closed_registrations')
|
|
|
|
- else
|
2017-04-09 15:47:25 +03:00
|
|
|
= @instance_presenter.closed_registrations_message.html_safe
|
2017-04-04 16:26:57 +03:00
|
|
|
.info
|
|
|
|
= link_to t('auth.login'), new_user_session_path, class: 'webapp-btn'
|
|
|
|
·
|
2017-04-11 22:57:05 +03:00
|
|
|
= link_to t('about.other_instances'), 'https://github.com/tootsuite/documentation/blob/master/Using-Mastodon/List-of-Mastodon-instances.md'
|
2017-04-04 16:26:57 +03:00
|
|
|
·
|
|
|
|
= link_to t('about.about_this'), about_more_path
|
2017-03-21 20:18:37 +02:00
|
|
|
|
|
|
|
%h3= t('about.features_headline')
|
|
|
|
|
|
|
|
.features-list
|
|
|
|
.features-list__column
|
|
|
|
%ul.fa-ul
|
|
|
|
%li
|
|
|
|
= fa_icon('li check-square')
|
|
|
|
= t 'about.features.chronology'
|
|
|
|
%li
|
|
|
|
= fa_icon('li check-square')
|
|
|
|
= t 'about.features.public'
|
|
|
|
%li
|
|
|
|
= fa_icon('li check-square')
|
|
|
|
= t 'about.features.characters'
|
|
|
|
%li
|
|
|
|
= fa_icon('li check-square')
|
|
|
|
= t 'about.features.gifv'
|
|
|
|
.features-list__column
|
|
|
|
%ul.fa-ul
|
|
|
|
%li
|
|
|
|
= fa_icon('li check-square')
|
|
|
|
= t 'about.features.privacy'
|
|
|
|
%li
|
|
|
|
= fa_icon('li check-square')
|
|
|
|
= t 'about.features.blocks'
|
|
|
|
%li
|
|
|
|
= fa_icon('li check-square')
|
|
|
|
= t 'about.features.ethics'
|
|
|
|
%li
|
|
|
|
= fa_icon('li check-square')
|
|
|
|
= t 'about.features.api'
|
2016-11-01 17:58:13 +02:00
|
|
|
|
2017-04-09 15:47:25 +03:00
|
|
|
- unless @instance_presenter.site_description.blank?
|
2017-03-21 20:18:37 +02:00
|
|
|
%h3= t('about.description_headline', domain: Rails.configuration.x.local_domain)
|
2017-04-09 15:47:25 +03:00
|
|
|
%p= @instance_presenter.site_description.html_safe
|
2017-01-12 21:46:24 +02:00
|
|
|
|
2016-09-28 00:12:33 +03:00
|
|
|
.actions
|
2016-11-01 17:58:13 +02:00
|
|
|
.info
|
2016-11-16 00:56:03 +02:00
|
|
|
= link_to t('about.terms'), terms_path
|
2017-03-17 21:49:34 +02:00
|
|
|
·
|
2017-04-11 22:57:05 +03:00
|
|
|
= link_to t('about.apps'), 'https://github.com/tootsuite/documentation/blob/master/Using-Mastodon/Apps.md'
|
2017-03-17 21:49:34 +02:00
|
|
|
·
|
2017-01-11 04:24:14 +02:00
|
|
|
= link_to t('about.source_code'), 'https://github.com/tootsuite/mastodon'
|
2017-03-17 21:49:34 +02:00
|
|
|
·
|
2017-04-11 22:57:05 +03:00
|
|
|
= link_to t('about.other_instances'), 'https://github.com/tootsuite/documentation/blob/master/Using-Mastodon/List-of-Mastodon-instances.md'
|