diff options
author | Thibaut Girka <thib@sitedethib.com> | 2018-10-11 14:12:36 +0200 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2018-10-11 14:12:36 +0200 |
commit | 8f720be9f3ad314f0c0b0c7c0cc81616ba20e8fd (patch) | |
tree | 62803c2547eace343e63a06499b8406967836cc0 /app/views/accounts/_og.html.haml | |
parent | a02244f17c841f641c9ed289fb592b73fecf472d (diff) | |
parent | ac7df62a0441b95ec04fd9111a9394795dd53ff2 (diff) |
Merge commit 'ac7df62a0441b95ec04fd9111a9394795dd53ff2' into glitch-soc/merge-upstream
Diffstat (limited to 'app/views/accounts/_og.html.haml')
-rw-r--r-- | app/views/accounts/_og.html.haml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/views/accounts/_og.html.haml b/app/views/accounts/_og.html.haml index a583b39c2..de948ec6a 100644 --- a/app/views/accounts/_og.html.haml +++ b/app/views/accounts/_og.html.haml @@ -1,7 +1,11 @@ +- 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', account_description(account) += opengraph 'og:description', description = opengraph 'og:image', full_asset_url(account.avatar.url(:original)) = opengraph 'og:image:width', '120' = opengraph 'og:image:height', '120' |