gab-social/app/views/accounts/_meta.html.haml
2020-11-15 12:48:32 -06:00

15 lines
465 B
Plaintext

- content_for :page_title do
= "#{display_name(account)} (@#{account.username}) • #{site_hostname}"
- content_for :header_tags do
- if account.user&.setting_noindex
%meta{ name: 'robots', content: 'noindex' }/
= opengraph 'og:type', 'profile'
= render 'accounts/og', account: account, url: "https://gab.com/#{account.username}"
- if older_url
%link{ rel: 'next', href: older_url }/
- if newer_url
%link{ rel: 'prev', href: newer_url }/