opengraph

This commit is contained in:
mi
2025-11-06 22:54:43 +10:00
parent 66eefa9349
commit 203b17be0e
4 changed files with 29 additions and 0 deletions

View File

@@ -1,5 +1,11 @@
{% extends "base.html" %}
{% if comic %}
{% block meta_description %}{{ comic.alt_text }}{% if comic.author_note %} - {{ comic.author_note }}{% endif %}{% endblock %}
{% block og_image %}{{ request.url_root }}static/images/thumbs/{{ comic.filename }}{% endblock %}
{% endif %}
{% block content %}
<div class="comic-container" data-comic-number="{{ comic.number }}" data-total-comics="{{ total_comics }}">
<div class="comic-header">