feat(templates): 🎨 adjust templates to fit the new rendering data format
This commit is contained in:
parent
9a5b9e609e
commit
9de4838081
7 changed files with 47 additions and 110 deletions
24
www/templates/render_templates/image.html
Normal file
24
www/templates/render_templates/image.html
Normal 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%}
|
Loading…
Add table
Add a link
Reference in a new issue