|
|
|
- content_for :page_title do
|
|
|
|
= t('directories.explore_mastodon', title: site_title)
|
|
|
|
|
|
|
|
- content_for :header_tags do
|
|
|
|
%meta{ name: 'description', content: t('directories.explanation') }
|
|
|
|
|
|
|
|
= opengraph 'og:site_name', t('about.hosted_on', domain: site_hostname)
|
|
|
|
= opengraph 'og:type', 'website'
|
|
|
|
= opengraph 'og:title', t('directories.explore_mastodon', title: site_title)
|
|
|
|
= opengraph 'og:description', t('directories.explanation')
|
|
|
|
= opengraph 'og:image', File.join(root_url, 'android-chrome-192x192.png')
|
|
|
|
|
|
|
|
.page-header
|
|
|
|
%h1= t('directories.explore_mastodon', title: site_title)
|
|
|
|
%p= t('directories.explanation')
|
|
|
|
|
|
|
|
- if @accounts.empty?
|
|
|
|
= nothing_here
|
|
|
|
- else
|
|
|
|
.card-grid
|
|
|
|
= render partial: 'application/card', collection: @accounts, as: :account
|
|
|
|
|
|
|
|
= paginate @accounts
|