feat(templates): 🎨 adjust templates to fit the new rendering data format

This commit is contained in:
David Bailey 2024-12-09 10:53:05 +01:00
parent 9a5b9e609e
commit 9de4838081
7 changed files with 47 additions and 110 deletions

View file

@ -0,0 +1,24 @@
{% extends "pathed_content.html" %}
{% block extra_head %}
<link rel="stylesheet" href="/static/imagestyle.css">
{%endblock%}
{% block opengraph_tags %}
{{ parent() }}
<meta property="og:type" content="image" />
{%endblock %}
{%block content_article%}
<figure>
<a target="_blank" href="{{page.media_url}}">
<img id="gallery_image" src="{{page.media_url}}"></img>
</a>
<figcaption>
{{ page.html|raw }}
</figcaption>
</figure>
{%endblock%}