diff --git a/og.png b/og.png deleted file mode 100644 index 945b9b8..0000000 Binary files a/og.png and /dev/null differ diff --git a/static/og.png b/static/og.png new file mode 100644 index 0000000..743be9a Binary files /dev/null and b/static/og.png differ diff --git a/themes/openfreebooks/templates/base.html b/themes/openfreebooks/templates/base.html index 0f57d1e..1bb18c5 100644 --- a/themes/openfreebooks/templates/base.html +++ b/themes/openfreebooks/templates/base.html @@ -7,6 +7,7 @@ {% block meta_description %} {% endblock meta_description %} + {% include "partials/social-meta.html" %} diff --git a/themes/openfreebooks/templates/partials/social-meta.html b/themes/openfreebooks/templates/partials/social-meta.html new file mode 100644 index 0000000..e01f4c5 --- /dev/null +++ b/themes/openfreebooks/templates/partials/social-meta.html @@ -0,0 +1,16 @@ +{# Open Graph + Twitter Card — shared site image on every page #} +{% set og_image = get_url(path='og.png', trailing_slash=false) %} + + + + + + + + + + + + + +