mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-25 20:13:43 +01:00
ff44b2e92d
- Add missing meta description to profiles - Add canonical rel link to landing page - Remove linebreaks from title tags - Add username to profile title - Add toots/following/followers to profile description tags - Add next/prev rel links to profiles - Do not index follower/following variants of profiles
9 lines
463 B
Text
9 lines
463 B
Text
= opengraph 'og:url', url
|
|
= opengraph 'og:site_name', site_title
|
|
= opengraph 'og:title', [yield(:page_title).strip.presence, site_title].compact.join(' - ')
|
|
= opengraph 'og:description', account_description(account)
|
|
= opengraph 'og:image', full_asset_url(account.avatar.url(:original))
|
|
= opengraph 'og:image:width', '120'
|
|
= opengraph 'og:image:height', '120'
|
|
= opengraph 'twitter:card', 'summary'
|
|
= opengraph 'profile:username', account.local_username_and_domain
|