about summary refs log blame commit diff
path: root/app/views/accounts/_og.html.haml
blob: 6350d7ed0f2e15013580b3e03e566826e0ff78ca (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                   
                                      
                                                
                                         
                                                                     
                                    
                                     
                                                    
- description = account_description(account)

%meta{ name: 'description', content: description }/

= opengraph 'og:url', url
= opengraph 'og:site_name', site_title
= opengraph 'og:title', yield(:page_title).strip
= opengraph 'og:description', description
= opengraph 'og:image', full_asset_url(account.avatar.url(:original))
= opengraph 'og:image:width', '400'
= opengraph 'og:image:height', '400'
= opengraph 'twitter:card', 'summary'
= opengraph 'profile:username', acct(account)[1..-1]