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,17 @@
{% extends "pathed_content.html" %}
{% block opengraph_tags %}
{{ parent() }}
<meta property="og:type" content="article" />
{%endblock %}
{%block content_article%}
{% if page.title and (page.title != page.basename) %}
<h1 class="content-title"> {{ page.title }} </h1>
{% endif %}
{{ page.html|raw }}
{% endblock %}