diff --git a/bookwyrm/templates/book/book.html b/bookwyrm/templates/book/book.html
index af2230200..09d5634bf 100644
--- a/bookwyrm/templates/book/book.html
+++ b/bookwyrm/templates/book/book.html
@@ -1,8 +1,13 @@
{% extends 'layout.html' %}
-{% load i18n %}{% load bookwyrm_tags %}{% load humanize %}{% load utilities %}
+{% load i18n %}{% load bookwyrm_tags %}{% load humanize %}{% load utilities %}{% load layout %}
{% block title %}{{ book|book_title }}{% endblock %}
+{% block opengraph_images %}
+
+
+{% endblock %}
+
{% block content %}
{% with user_authenticated=request.user.is_authenticated can_edit_book=perms.bookwyrm.edit_book %}
diff --git a/bookwyrm/templates/layout.html b/bookwyrm/templates/layout.html
index d899d62cb..bd3dbf7c1 100644
--- a/bookwyrm/templates/layout.html
+++ b/bookwyrm/templates/layout.html
@@ -16,8 +16,10 @@
-
-
+ {% block opengraph_images %}
+
+
+ {% endblock %}
diff --git a/bookwyrm/templates/user/layout.html b/bookwyrm/templates/user/layout.html
index 0830a4068..c1503ec6d 100644
--- a/bookwyrm/templates/user/layout.html
+++ b/bookwyrm/templates/user/layout.html
@@ -1,11 +1,13 @@
{% extends 'layout.html' %}
-{% load i18n %}
-{% load humanize %}
-{% load utilities %}
-{% load markdown %}
+{% load i18n %}{% load humanize %}{% load utilities %}{% load markdown %}{% load layout %}
{% block title %}{{ user.display_name }}{% endblock %}
+{% block opengraph_images %}
+
+
+{% endblock %}
+
{% block content %}
{% block header %}
diff --git a/bookwyrm/templatetags/layout.py b/bookwyrm/templatetags/layout.py
index e0f1d8ba6..f518808c1 100644
--- a/bookwyrm/templatetags/layout.py
+++ b/bookwyrm/templatetags/layout.py
@@ -1,6 +1,7 @@
""" template filters used for creating the layout"""
from django import template, utils
+from bookwyrm.settings import DOMAIN
register = template.Library()
@@ -10,3 +11,9 @@ def get_lang():
"""get current language, strip to the first two letters"""
language = utils.translation.get_language()
return language[0 : language.find("-")]
+
+
+@register.simple_tag(takes_context=False)
+def get_path():
+ """get protocol and host"""
+ return "https://%s" % DOMAIN