We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91e44ae commit c7660eeCopy full SHA for c7660ee
django/gsmap/models.py
@@ -244,7 +244,7 @@ def save_meta(storage):
244
proto = 'https' if settings.USE_HTTPS else 'http'
245
meta = f'''
246
<meta name="og:title" content="{instance.title}">
247
-<meta name="og:url" content="{instance.get_absolute_link()}">
+<meta name="og:url" content="{proto}://{domain}{instance.get_absolute_url()}">
248
<meta name="og:image" content="{proto}://{domain}/{instance.image_facebook()}">
249
<meta name="twitter:image" content="{proto}://{domain}/{instance.image_twitter()}">
250
'''
0 commit comments