From 1be7ac890470956ffd5ef875a5cc46540f19946e Mon Sep 17 00:00:00 2001 From: flashwave Date: Mon, 26 Mar 2018 04:30:24 +0200 Subject: [PATCH] Add og:image to profiles. --- views/mio/user/view.twig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/views/mio/user/view.twig b/views/mio/user/view.twig index 2516d149..7f79cbc4 100644 --- a/views/mio/user/view.twig +++ b/views/mio/user/view.twig @@ -1,6 +1,7 @@ {% extends '@mio/user/master.twig' %} {% from '@mio/macros.twig' import navigation, link %} +{% set icon = '/profile.php?u=' ~ profile.user_id ~ '&m=avatar' %} {% set title = 'Profile of ' ~ profile.username %} {% set youtube_is_channel_id = profile.user_youtube|slice(0, 2) == 'UC' and profile.youtube|length == 24 %} @@ -117,7 +118,7 @@ {% endspaceless %} {% endif %} -
+