1
0
Fork 0

Move all opengraph (/twitter) metadata into one template

This makes it easier to modify & allows us to set title & description for specific types of pages.

Sets us up for #2575
This commit is contained in:
Andy Maloney 2023-01-11 16:17:41 -05:00
parent 5c8145b79d
commit b4aa39f0ed
6 changed files with 25 additions and 29 deletions

View file

@ -7,8 +7,8 @@
{% block title %}{{ book|book_title }}{% endblock %}
{% block opengraph_images %}
{% include 'snippets/opengraph_images.html' with image=book.preview_image %}
{% block opengraph %}
{% include 'snippets/opengraph.html' with image=book.preview_image %}
{% endblock %}
{% block content %}