' . esc_html_x( 'Following', 'Block pattern content', 'activitypub' ) . '
';
}
\register_block_pattern(
'activitypub/profile-page',
array(
'title' => _x( 'Fediverse Profile Page', 'Block pattern title', 'activitypub' ),
'categories' => array( 'activitypub' ),
'keywords' => array(
_x( 'profile', 'Block pattern keyword', 'activitypub' ),
_x( 'fediverse', 'Block pattern keyword', 'activitypub' ),
_x( 'page', 'Block pattern keyword', 'activitypub' ),
_x( 'extra fields', 'Block pattern keyword', 'activitypub' ),
_x( 'followers', 'Block pattern keyword', 'activitypub' ),
),
'description' => '1' === \get_option( 'activitypub_following_ui', '0' )
? _x( 'Full profile page with extra fields, followers, and following lists.', 'Block pattern description', 'activitypub' )
: _x( 'Full profile page with extra fields and followers list.', 'Block pattern description', 'activitypub' ),
'viewportWidth' => 1200,
'postTypes' => array( 'page' ),
'blockTypes' => array( 'core/post-content' ),
'content' => '
' . esc_html_x( 'Followers', 'Block pattern content', 'activitypub' ) . '
' . $following_block . '
',
)
);