mirror of
https://github.com/mastodon/mastodon
synced 2024-12-16 15:48:17 +09:00
cb447b28c4
* Add profile directory to web UI * Add a line of bio to the directory
24 lines
784 B
Plaintext
24 lines
784 B
Plaintext
- 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
|