Mastodon/app/views/wrapstodon/show.html.haml
Claire ba45eb8764 Merge commit 'bc2f8a358f96a9540e6f39bb1c58273deb4545de' into glitch-soc/merge-upstream
Conflicts:
- `app/views/layouts/application.html.haml`:
  Upstream changed how theming works, and in particular changed the set of HTML attributes.
  Adapted upstream's change.
2026-01-15 18:02:35 +01:00

20 lines
745 B
Plaintext

- content_for :page_title, t('wrapstodon.title', name: display_name(@account), year: @generated_annual_report.year)
- content_for :header_tags do
%meta{ name: 'robots', content: 'noindex, noarchive' }/
= opengraph 'og:site_name', site_title
= opengraph 'og:type', 'article'
= opengraph 'og:title', t('wrapstodon.title', name: display_name(@account), year: @generated_annual_report.year)
= opengraph 'profile:username', acct(@account)[1..]
= render 'og_description', account: @account
= render 'og_image', report: @generated_annual_report
= flavoured_vite_typescript_tag 'wrapstodon.tsx', crossorigin: 'anonymous'
- content_for :force_color_scheme, 'dark'
#wrapstodon
= render_wrapstodon_share_data @generated_annual_report