Commit fe436540 by Kálmán Viktor

dashboard: absolute url for open graph image

parent bd53c3e1
......@@ -16,6 +16,7 @@
# with CIRCLE. If not, see <>.
from django.conf import settings
from django.templatetags.static import static
def notifications(request):
......@@ -30,4 +31,5 @@ def extract_settings(request):
return {
'COMPANY_NAME': getattr(settings, "COMPANY_NAME", None),
'ADMIN_ENABLED': getattr(settings, "ADMIN_ENABLED", False),
'OG_IMAGE': settings.DJANGO_URL[:-1] + static("dashboard/img/og.png")
{# use absolute url in production #}
<meta property="og:image" content="/static/dashboard/img/og-logo.png"/>
<meta property="og:image" content="{{ OG_IMAGE }}"/>
<meta property="og:site_name" content="CIRCLE Cloud - devenv"/>
<meta property="og:title" content="CIRCLE Cloud - devenv"/>
<meta property="og:type" content="website"/>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment