feat: add inject support

Co-authored-by: st1020 <me@st1020.com>
This commit is contained in:
Damien LaRocque 2024-10-05 11:12:49 -04:00 committed by GitHub
parent fe3b3a6e14
commit a6cf030459
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 48 additions and 10 deletions

View file

@ -1,6 +1,9 @@
{% extends "index.html" %}<!---->
{% block main %}
<article>
<!-- Page Start inject -->
{% include "injects/page_start.html" ignore missing %}
<header class="mb-16">
<h1 class="!my-0 pb-2.5">{{ page.title }}</h1>
{% include "partials/page_info.html" %}
@ -34,5 +37,8 @@
{% if page.extra.comment | default(value=config.extra.comment) %}<!---->
{% include "partials/comment.html" %}<!---->
{% endif %}
<!-- Page End inject -->
{% include "injects/page_end.html" ignore missing %}
</article>
{% endblock main %}