about summary refs log tree commit diff
path: root/app/views/accounts/_og.html.haml
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2018-10-11 21:28:03 +0200
committerGitHub <noreply@github.com>2018-10-11 21:28:03 +0200
commit00759642446c41c9e9c428010ed0d3d3b79703bb (patch)
treef8cc02c4034d2436ea849a4f313c42eabc51a808 /app/views/accounts/_og.html.haml
parentbb1103d9742f088252f8156968a474ca8a58b087 (diff)
parent8f720be9f3ad314f0c0b0c7c0cc81616ba20e8fd (diff)
Merge pull request #775 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/views/accounts/_og.html.haml')
-rw-r--r--app/views/accounts/_og.html.haml6
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'